Ryan Fleury
834f38f73b
pass over rdi dumping code; relocate to rdi_format_local; eliminate redundant helpers; plug into radbin
2025-06-10 14:14:39 -07:00
Ryan Fleury
bb2900c2b7
memory view: globals & procedures annotations, changed & bad visualization
2025-06-08 16:26:57 -07:00
Ryan Fleury
94b969f203
copyright year
2025-06-02 14:13:57 -07:00
Ryan Fleury
89cc73eca6
constant name map
2025-05-29 16:57:08 -07:00
Ryan Fleury
3513d6cfb9
first pass at rdi format constant value support
2025-05-29 16:37:36 -07:00
Ryan Fleury
c62ad20a9a
switch cast expressions from being formally represented in the expression tree - instead use cast-like tree shapes to perform casts in the ir/typechecking phase. this is odd, given C's casting syntax, but it is much more natural given that the parser is not any longer doing identifier resolution, and as such it fixes a bunch of nasty edge cases.
2025-04-28 11:50:23 -07:00
Ryan Fleury
6113a2e3db
eval: do simplification pass over identifier resolution, shift from parsing stage -> ir generation / typechecking stage; do simplifications over expr tree, eliminate redundant kinds
2025-04-02 14:30:12 -07:00
Ryan Fleury
a5d6e8a335
make eval ctxs more robust to missing info, e.g. in the test harness case
2025-03-31 13:48:19 -07:00
Ryan Fleury
17ff4da9bf
more eval scratch work
2025-03-31 13:09:30 -07:00
Nikita Smith
5ba981357d
fix string cast warning
2025-03-27 15:01:16 -07:00
Nikita Smith
49ba163077
export CodeView types as aliases to its builtin counter-parts,
2025-03-27 13:47:47 -07:00
Nikita Smith
63086b802c
opcodes for encoding partial values
2025-03-26 12:19:16 -07:00
Nikita Smith
d137d928c9
added call site value opcode to RDI format
2025-03-26 12:19:16 -07:00
Ryan Fleury
42e888d41e
fix breakpad converter build
2025-03-25 16:57:33 -07:00
Ryan Fleury
c4f4b5ff01
merge
2025-03-25 16:21:51 -07:00
Ryan Fleury
c70132cd37
never mind --- this conflicts badly with stable version!
2025-03-21 11:51:52 -07:00
Ryan Fleury
1cef39d0a3
bump encoding version to match dev
2025-03-21 11:42:02 -07:00
Ryan Fleury
cc4c889a99
bump format encoding version; add breakpad converter to ci; remove unused code
2025-03-21 11:39:53 -07:00
Nikita Smith
44249f35fc
pass over the make RDI library
...
- Handle type layout in the library so converts simply
define type graph and let the library handle DAG layout.
- Changed location baking. For now the library waits for scope, procs,
global vars, and thread vars steps to serially finish because
of common dependency on location sections, we need to parallel for each step.
- Changed encoded offset size for RDI_EvalOp_FrameOff to 8 bytes
(1 byte is not enough to cover all cases)
- Added frame base location to RDI_Procedure (WASM encodes frame base
as an index into a global array and so we have to resolve the base
at runtime).
2025-03-10 16:49:54 -07:00
Nikita Smith
5717d6c54c
export restrict modifier
2025-03-04 13:26:24 -08:00
Ryan Fleury
50000c0d6b
adjust metagen to support correctly-escaped multiline string generations; sketch out setting schemas; eliminate old settings hack, move to using cfg tree & settings schema
2025-01-23 11:39:55 -08:00
Ryan Fleury
6d55d21643
fix clang builds
2024-11-01 15:22:26 -07:00
Ryan Fleury
4769d0a8d4
narrow scope of name resolution for debugger collections; default launching to not attach to child processes, set up msgs to parameterize this
2024-10-28 15:37:28 -07:00
Nikita Smith
a43678e311
voff -> line search fix
...
when line table contains duplicate virtual offsets we have to return
index of last virtual offset so following property is true:
'line_length = virtual_offsets[index + 1] - virtual_offsets[index]'
2024-10-21 13:32:04 -07:00
Nikita Smith
68c0906570
print register name
2024-10-19 20:39:40 -07:00
Nikita Smith
b1d6ebf77b
added masm language enum and type kind count
2024-10-15 16:20:18 -07:00
Ryan Fleury
fe59fab3da
progress on callstack view replacement
2024-09-27 15:48:36 -07:00
Ryan Fleury
84f685803d
fix set-space ir extension instruction; expand ctrlbits to u16, so that it can encode modern register sized decodes
2024-09-16 11:59:06 -07:00
Ryan Fleury
cf7b664ab2
bswap expression & ir
2024-08-27 11:35:45 -07:00
Ryan Fleury
47462f4789
first pass at filesystem evaluation in eval system
2024-08-22 16:55:07 -07:00
Ryan Fleury
4611ddb536
eval value array indexing; type-only evaluation of array indexing and member accesses; various fixes
2024-08-20 16:13:01 -07:00
Ryan Fleury
33fe9ba485
formally support hresult codes as distinct from handles in debug info & visualization
2024-08-14 13:48:09 -07:00
Ryan Fleury
918895c091
small string evaluation; strings as values in eval
2024-08-14 10:49:56 -07:00
Ryan Fleury
eac1672c4e
begin sketching out eval paths for small string operations
2024-08-13 16:16:55 -07:00
Ryan Fleury
07c4e6ee87
evaluation compiler debug tooltip visualizer
2024-08-13 15:41:01 -07:00
Ryan Fleury
5a682e5888
split eval systems, to decouple types/exprs/parsing (debug info dependent), from irization (macro map dependent), from interpretation (completely independent of the former two stages & all their dependencies)
2024-08-06 13:57:48 -07:00
Ryan Fleury
3e6b8a3c66
first pass at converting frontend over to using new eval system
2024-08-05 17:05:43 -07:00
Ryan Fleury
b18e437337
git normalize all files
2024-07-26 11:13:47 -07:00
Ryan Fleury
1d87c34dca
fix big growth path in arena; make rdi parse code slightly more robust to malformed rdis
2024-07-26 08:37:13 -07:00
Nikita
e18e136f82
fixed line number binary search for last range in line number map
2024-07-23 08:44:08 -07:00
Martins Mozeiko
ce7c8d5244
avx512 registers & fixes for getting & setting x64 context
2024-07-23 08:43:35 -07:00
Ryan Fleury
3cc51038df
os_core: linux port for memory, thread info, filesystem apis
2024-07-16 13:24:54 -07:00
Ryan Fleury
6eef8c3e16
rdi_format_parse: prefer line info idxs with file coordinates in line mapping helper
2024-06-19 13:27:34 -07:00
Ryan Fleury
0b3e3228d1
rdi_from_pdb: fix incorrect bounds checks on procedure frameproc lookup for local location info
2024-06-17 09:34:27 -07:00
Ryan Fleury
933b4c90de
fix rdi_format_parse and rdi_breakpad_from_pdb build
2024-06-13 17:12:31 -07:00
Ryan Fleury
5349838633
rdi: producer name in top-level-info
2024-06-13 16:55:47 -07:00
Ryan Fleury
bf2d5640fa
go back to per-inline-site line tables; eliminate call location for inline tables; these can be encoded via parent line tables; wire up parsed line tables to inline site production from symbol conversion phase
2024-06-13 15:18:29 -07:00
Ryan Fleury
dafbe32e85
adjust line info lookup apis to be range-based, with a first-and-shallowest-only helper
2024-06-13 15:18:29 -07:00
Ryan Fleury
6e9b2bd107
extend rdi line info lookups with depth; fix bad panel deref in target view cmds
2024-06-13 15:18:29 -07:00
Ryan Fleury
c80555c49d
rdi_make, rdi_from_pdb, rdi_dump: sketch out the building (no parsing/filling yet), dumping, and baking/serializing of inline sites
2024-06-13 15:18:29 -07:00