Commit Graph
389 Commits
Author SHA1 Message Date
Ryan Fleury be3fa56927 base: memory map -> push new ranges to front, rather than end - this makes the common case of iterative retry loops asking for memory, then immediately needing it, faster 2026-09-30 07:56:33 -07:00
kwy404 1ac8fb5202 base: fix data4 byte order in try_guid_from_string
The last two GUID groups were packed into a U64 and copied to data4 in
host byte order, so on little endian data4 came out reversed and
string_from_guid did not round trip (for example /RAD_GUID). Store the
value big endian so data4[0] is the first byte of the fourth group.
2026-09-27 00:20:42 -07:00
Ryan Fleury 6133e8f335 Revert "Revert "x64 does not belong in base - base is intended to be things we can assume everywhere, which explicitly disqualifies x64 by definition.""
This reverts commit f9950ef4e9.
2026-09-22 03:28:55 -07:00
Nikita Smith f9950ef4e9 Revert "x64 does not belong in base - base is intended to be things we can assume everywhere, which explicitly disqualifies x64 by definition."
This reverts commit 4e4639c2a0.
2026-09-21 14:05:13 -07:00
Ryan Fleury 4e4639c2a0 x64 does not belong in base - base is intended to be things we can assume everywhere, which explicitly disqualifies x64 by definition. 2026-09-21 09:14:11 -07: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
Nikita Smith 707a3e11ca release asserts 2026-09-21 09:08:02 -07:00
Nikita Smith 55fbbb09d7 fixes for the GCC build 2026-09-10 14:28:29 -07:00
Nikita Smith b8bbd520a1 add test user data field for smuggling script state 2026-09-10 14:28:24 -07:00
Nikita Smith 77bacd640a process groups + pipe pair 2026-09-10 14:28:24 -07:00
Ryan Fleury 04bd46dad6 revert ring push changes, can't be contiguous, duh... 2026-08-27 15:40:27 -07:00
Ryan Fleury 3bab86e6af checkpoint on sockets layer 2026-08-27 13:52:34 -07:00
Ryan Fleury e28a543573 remove dead binary searching helper 2026-08-25 11:38:25 -07:00
Ryan Fleury e6e1f7a426 okay bump back to 29 2026-08-21 15:31:25 -07:00
Ryan Fleury bf7e2f7655 oops - revert to 28, disable deletes in code view ctrls 2026-08-21 14:53:30 -07:00
Ryan Fleury a5f0f760ba bump to 29 2026-08-21 13:17:46 -07:00
Ryan Fleury 73ba34f354 adjust path absolutification - never assume selected module, since this changes all the time! instead, provide dbgi path (and maybe eventually we want module path too), so that any paths found in debug info can be treated as relative from the debug info path. 2026-08-19 10:21:50 -06:00
Nikita Smith 1086d1d350 reduce arena footprint by using initial reserve and commit size parameters
`current` points to the most recently allocated arena. If that arena was
allocated by a large push, lets say 2 GiB, while the arena's initial
reserve size was 1 GiB, the next block would be allocated with a 2 GiB
reserve.
2026-08-13 15:02:20 -07:00
Nikita Smith 72c3dfd30c improve diagnostics for the missing entry point 2026-08-13 15:02:19 -07:00
Ryan Fleury 7cc61e75e4 fix use of old functions in spall profiling code 2026-08-11 08:24:55 -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 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
Ryan Fleury 969851b6f0 flip NO_ASYNC; turn on as needed, if a layer requiring it is included 2026-06-27 04:54:30 -07:00
Ryan Fleury 9d651f4bd5 EpicGamesExt -> EpicGames 2026-06-25 09:08:52 -06:00
Nikita Smith 84d025e940 force inline string compars 2026-06-23 12:32:50 -07:00
Martins Mozeiko 401383bbd8 reorganize intrinsic includes to make clang happy 2026-06-22 14:21:01 -07:00
Ryan Fleury e2430fa23e remove redundant incs of xxhash - undef cpuid macro before xxhash is
included, so that we don't have conflicting definitions due to memfun
2026-06-22 13:43:19 -07:00
Ryan Fleury 28d037a924 checkpoint on faster rdi_from_dwarf type/namespace deduping 2026-06-22 13:31:08 -07:00
Ryan Fleury dac63d6bef fix linux build 2026-06-21 20:47:09 -07:00
Ryan Fleury 286589f4de rdi_from_pdb: exemplar tests 2026-06-21 20:37:52 -07:00
Ryan Fleury c890b806d5 pull out test input/exemplar path formation helpers to base; fix torture crash 2026-06-21 20:13:44 -07:00
Nikita Smith 9b63131f37 ditch semaphores in thread pool in favor of barriers 2026-06-19 20:12:26 -07:00
Nikita Smith 6ea9bfc5a3 fix tail comparisons 2026-06-19 20:12:25 -07:00
Nikita Smith 871f94a202 use vectorized memory functions in the base strings 2026-06-19 20:12:23 -07:00
Nikita Smith 8ef58def99 update torture
* factor test registration logic out of the macro to improve debuggability
* expand the test registration logic
* rename group -> layer for consistency
* fix indentation in the slow tests summary
2026-06-19 20:12:22 -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
Nikita Smith b8bad9a82e range helper that computes max part from min+size 2026-06-16 17:22:53 -07:00
Nikita Smith 267b8fc519 missing count in the range list concat 2026-06-16 17:22:52 -07:00
Ryan Fleury 6a2aa95ea3 okay, *now* bump to 28 2026-06-13 06:38:03 -07:00
Nikita Smith c030488814 fallback on PCH signature when file path match fails 2026-06-13 06:20:40 -07:00
Ryan Fleury 6ca7f162aa shift temporarily to 27 2026-06-13 06:17:55 -07:00
Ryan Fleury 083a843bf7 bump to 28 2026-06-12 14:10:20 -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 1ea8c48867 raddbg exemplar tests -> use specific hash version, name exemplars by their platform, skip if test data unavailable 2026-06-02 12:11:05 -07:00
Ryan Fleury dc61f20e3b sketch out stepping/eval exemplar testing; step-to-exit first pass 2026-06-02 12:11:04 -07:00
Ryan Fleury a0bf825169 run-to-name, use to 'seed' test binary cases' 2026-06-02 12:11:03 -07:00