Commit Graph
55 Commits
Author SHA1 Message Date
Ryan Fleury a256e5c48a sketch out linux non-host layer, for mapping numeric exception codes to metadata on debugger frontend. also do not always call XQueryKeymap/XQueryPointer; these are very expensive and we only use them in scenarios where we can take the most recently cached value from events. 2026-10-01 10:33:24 -07:00
Ryan Fleury cd41ba199b win32_socket: fix clang warnings 2026-09-30 14:54:59 -07:00
Ryan Fleury a2988333a5 linux_sock: meet windows in functionality - send/recv on both client/server 2026-09-30 11:42:03 -07:00
Ryan Fleury b5c02dd4fa linux_socket: checkpoint, get accepting/receiving working 2026-09-30 11:29:40 -07:00
Ryan Fleury 29119335ef socket: client connections/sends; raddbg: move ipc sender mode to using socket layer 2026-09-30 09:27:47 -07:00
Ryan Fleury 82aaccd945 sock: fix sends, raddbg_core: send ipc results through socket, back to endpoint from which ipc command(s) originated 2026-09-30 08:57:11 -07:00
Ryan Fleury 6a52e6deec sock: bucket socket connection pools / requests by 'session' - one session = one listener port, one pool of connections / io ring buffers - we will want many of these, since for ipc, the debugger wants to act as a server on the UI thread, and for remote, the debugger wants to act as a client on the ctrl thread. 2026-09-30 08:31:54 -07:00
Ryan Fleury e270def19f socket: checkpoint on socket layer / win32 impl; plug into ipc driving 2026-09-29 21:08:34 -07:00
Ryan Fleury f781622a54 checkpoint on sockets layer 2026-09-29 16:34:18 -07:00
Ryan Fleury 2933143b08 win32_demon: make conflicting trap net / user bp trap behavior identical to linux - always find info for *first* trap in list. second... dbg_engine: store trap net traps *first*, so that trap net behavior is preferred when trap nets conflict with user bp traps. 2026-09-28 10:10:16 -06:00
Ryan Fleury 4e7a6127d8 dbg_engine: process memory cache - always retry on memgen 'tearing', do not enforce size restriction. linux_demon: correctly relativize loaded module paths when needed per the loading process' working directory. raddbg: disasm view, do not skip too far back - can go into unmapped space. eval: file/folder filtering - hoist exact matches to the top. 2026-09-28 09:18:59 -06:00
Nikita Smith 0ac6b35a98 base: add memory placeholders and generic page fault handler
* Add windows and Linux demand-mapping backends
* Add exclusive file creation, sizing, flushing and replacement APIs
2026-09-21 09:08:07 -07:00
Ryan Fleury dc2a206487 win32 symbol server :sync request task count 2026-09-15 14:08:11 -07:00
Nikita Smith 77bacd640a process groups + pipe pair 2026-09-10 14:28:24 -07:00
Ryan Fleury 0579e0f658 first pass at using symbol server to download correct module versions for dump debugging 2026-08-27 14:14:37 -07:00
Ryan Fleury 3bab86e6af checkpoint on sockets layer 2026-08-27 13:52:34 -07:00
Ryan Fleury 74624df829 p2r: correctly fall back to bytecode when regoff locations have offs of outside of [min_S16, max_S16] - in these cases, the offset is too big to fit inside of a packed 64-bit location encoding, so we need to fall back. before, we were only falling back incorrectly when the offset was outside of [0, max_U16], but this is not right. also, win32_wm: don't interpret '\n' (ctrl+J) 2026-08-21 12:08:23 -07:00
Ryan Fleury 94392b4975 linux_demon: checkpoint 2026-08-11 14:02:40 -07:00
Ryan Fleury 6b30c395d7 linux_demon: eliminate active-trap layer; do pre-trap instruction memory read in one batch before doing write, robustly handles duplicates; eliminate deduplication inside linux demon (ultimately we want to deduplicate traps sent by the dbg engine, but we should just dedup at that layer, long before the set of traps ever reaches the demon backend) 2026-08-10 14:20:22 -06:00
Ryan Fleury 38e321df79 linux/demon: more flattening & extra layer elimination 2026-08-07 14:13:30 -06:00
Ryan Fleury 7388b757d1 demon: eliminate redundant access scopes 2026-08-07 10:17:01 -06:00
Ryan Fleury 5ed398a8b9 fix windows build 2026-08-06 15:35:56 -07:00
Ryan Fleury 867b64f7a2 split shell operation abstraction from graphical window manager abstraction - do basic integration of common linux utilities for implementing shell operations - also add 'sh_install_or_uninstall_self' for doing shell-specific operations related to installing or uninstalling an application. hook up to config state in raddbg 2026-08-06 12:53:05 -06:00
Ryan Fleury c8dae72968 cleanup around single vs. multiline text mutation controls 2026-07-27 14:47:32 -07:00
Ryan Fleury bb85f6f692 text patches: checkpoint 2026-07-27 14:47:31 -07:00
Nikita Smith c629c5b10e refactor PDB background file output
Add a shared multi-file background writer with lazy worker startup.
Represent PDB output as a file artifact, keep PDB output state internal
to the builder, and overlap deferred PDB writers with the file maps release.
2026-07-27 14:47:27 -07:00
Nikita Smith bd2cbfc127 gate for page pre-faulting on windows 2026-07-27 14:47:21 -07:00
Ryan Fleury 78d12eb914 custom module loads -> support manually specifying pdb path 2026-07-23 20:28:52 -07:00
Ryan Fleury b0841ff2da first pass at custom load-module exception (long term for JIT) 2026-07-23 20:22:54 -07:00
Ryan Fleury 96cfb441fd correctly use command titles in native file explorer 2026-06-27 12:07:24 -07:00
Ryan Fleury c1b3461709 eval2: switch to extrusive lists for expression lists - this lets us reuse expression trees. also solve strange isolated unload module events in win32 demon as well 2026-06-25 11:36:18 -06:00
Nikita Smith 9b63131f37 ditch semaphores in thread pool in favor of barriers 2026-06-19 20:12:26 -07:00
Ryan Fleury fe2aa4d14c com shim for launching raddbg in cli mode, for proper console subsystem style usage of packaged bin utilities; checkpoint on eval2 2026-06-19 20:12:20 -07:00
Ryan Fleury 9af4c3d614 W over A win32 window functions; wakeup on WM_CLOSE (manual merge of
cbf3fd5587)
2026-06-10 04:43:01 -07:00
Ryan Fleury 0105b06fef fix conflicting lifetimes in http read - batch of retry-response-body-pieces was conflicting with asynchronous reading state! 2026-06-09 13:14:29 -07:00
Ryan Fleury 9955c8c1a7 temporarily turn off symbol server stuff - switch off spoof for step-over 2026-06-09 09:27:23 -07:00
Ryan Fleury 132751777f eliminate unnecessary info in debug engine entity abstraction / demon events; adjust symbol server / debug info loading such that the debug info loader is the one who decides to kick off downloads based on presence in cache path; use cache path as key, unpack info for download requests 2026-06-08 21:06:44 -07:00
Ryan Fleury b22f9f2d8b checkpoint on symbol server 2026-06-08 17:32:07 -07:00
Ryan Fleury 5c664261a3 symbol server abstraction layer; http layer; fix to 'prefer_disasm' rule when no disassembly tabs are open; small fixes / cleanup 2026-06-08 11:10:14 -07:00
Ryan Fleury d73ce364b9 major clean-up pass over unwinding/module-info abstraction, + usage in the debug engine. simplified / cleaned up DWARF helpers for unwind info & expressions. decoupling unwinding / DWARF evaluation from memory read callbacks. light module info now prepared by demon layer - debug engine no longer duplicates per-backend parsing. unwind abstraction layer now does thin abstraction over unwinding backends, debug engine only calls abstraction. clean up demon to have fewer ad-hoc 'queries' on handles, and prefer sending info over debug events when possible / when it fits the usage pattern. move DWARF enum specifications to metacode, generate enums/xlists/tables/etc. decouple raddbg/radbin completely from old parsing helpers. replace portion of DWARF dumping; pull out some new parsing helpers from converter / dumper. 2026-06-02 12:11:13 -07:00
Ryan Fleury 9cc2afc659 eliminate backend-specific module parsing from debug engine ctrl thread; just pass that info back via the demon event 2026-06-02 12:11:10 -07:00
Ryan Fleury 8564884d76 raddbg: stepping regression tests 2026-06-02 12:11:02 -07:00
Ryan Fleury 4e72553006 promote test-definition concepts from torture to base layer; reorganize tests to be nested in their respective layer; eliminate 't_group', just use containing layer 2026-06-02 12:11:01 -07:00
Nikita Smith e3587dcb9f use GetForegroundWindow for foucs detection with parented debuggers 2026-06-02 12:10:50 -07:00
Ryan Fleury 4e44a3c271 get default symbol path as part of process info; sketch out windows-style path for local symbol server cache 2026-06-02 12:10:48 -07:00
Ryan Fleury 1c29112e9c first pass at per-target output log labels 2026-06-02 12:10:47 -07:00
Nikita Smith 2643d14e06 extend os info struct with binary file path 2026-06-02 12:09:57 -07:00
Ryan Fleury 1a48155116 checkpoint on dump file parsing / cache construction; temporarily turn off crash dump command, since still wip 2026-05-19 09:56:01 -07:00
Ryan Fleury 80d68b7f95 dbg_engine: minidump memory64 parsing; rename switch -> better thing for what it is 2026-05-18 19:40:47 -07:00
Ryan Fleury 4840b46b84 dbg_engine: shift thread register reads / process memory reads -> abstraction layer, rather than directly calling into demon; cache crash dump info, like thread info & memory ranges; implement thread reg reads & memory reads for dumps by using this acceleration structure when we have a dump handle, instead of regular demon reads. 2026-05-18 14:51:17 -07:00