Commit Graph
100 Commits
Author SHA1 Message Date
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 5946bb87e6 debugger changelog 2026-08-21 12:35:47 -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 d75ea2d55e fix incorrect module lookup on asan events; fix bad string size assumption with const string eval 2026-08-21 11:35:41 -07:00
Ryan Fleury 03463abebc fix incorrect bad-project-file checkin 2026-08-21 11:05:53 -07:00
Ryan Fleury 5e6fb63535 better stop snapping behavior - prefer unwinding to the first source location in a call stack, if the user is in source mode & has no disasm tabs 2026-08-21 10:55:46 -07:00
Ryan Fleury c360008950 same for bash 2026-08-19 12:35:34 -06:00
Ryan Fleury 6619df49a7 on implicit debug builds -> inform user of 'release' argument 2026-08-19 12:30:10 -06:00
Ryan Fleury 8a5979a1a6 dbg_engine: instead of sending down relativized breakpoint paths, relativize when resolving breakpoints on ctrl thread per-module - this avoids preference for the selected module, which broke relative file breakpoints without a selected thread in the right module. 2026-08-19 11:42:50 -06: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
Ryan Fleury 08d25fa39d linux_demon: fix incorrect arena buckets for probe parsing, fix zero process being incorrectly used (snap process to thread process, if wait_id does not refer to any process itself; text: fix treating R"'s as starting a herestring, if ending a non-herestring 2026-08-13 12:28:06 -07:00
Ryan Fleury 604a244473 rdi_from_dwarf: turn off aggressive type hash caching for now - need to solve cyclical graph hashing problem later when it is more pressing... also fix local-UDTs not being gathered/converted 2026-08-13 11:05:36 -07:00
Ryan Fleury 8372582608 rdi_from_dwarf: first pass at entry-point-independent deterministic type graph hashing 2026-08-12 15:48:49 -07:00
Ryan Fleury a47be13d70 linux_demon: do not assume nonzero threads 2026-08-12 10:01:40 -07:00
Ryan Fleury baef2f07bf fix torture 2026-08-12 09:48:54 -07:00
Ryan Fleury 94392b4975 linux_demon: checkpoint 2026-08-11 14:02:40 -07:00
Ryan Fleury 338a8226a1 linux_demon: fix incorrect shdr read 2026-08-11 11:08:04 -07:00
Ryan Fleury 1770d85308 linux_demon: more helper flattening / elimination 2026-08-11 11:01:58 -07:00
Ryan Fleury b8679b4a9a linux_demon: more helper flattening / elimination 2026-08-11 09:31:52 -07:00
Ryan Fleury 7cc61e75e4 fix use of old functions in spall profiling code 2026-08-11 08:24:55 -07:00
Ryan Fleury a016caea59 fix incorrect zero-rip unwind check 2026-08-11 08:22:57 -07:00
Ryan Fleury 41976ca1da do not use binary mode for generated files 2026-08-11 08:14:17 -07:00
Ryan Fleury 70c0888bc3 linux window manager: key state / modifiers polling 2026-08-10 15:21:39 -06:00
Ryan Fleury 8f8e14c348 linux_demon: intrinsic links for addr -> module table 2026-08-10 14:56:29 -06:00
Ryan Fleury 45aeca0bf9 linux_demon: intrinsic links in threads/processes for pid mapping 2026-08-10 14:40:43 -06: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 9f83e388d2 linux_demon: more reading, flattening, elimination of unnecessary helpers / layers 2026-08-10 11:56:42 -06:00
Ryan Fleury 980a9908d1 linux_demon: fix kill regressions from flattening 2026-08-09 20:27:00 -07:00
Ryan Fleury d622fdf4fd eliminate helpers for thread/process exits & process creation - just pull them out into single spot in the signal handling loop 2026-08-08 21:04:22 -07:00
Ryan Fleury 05de22df76 linux/demon: eliminate unneeded fields, h/c matching, reading etc. 2026-08-07 14:43:15 -06:00
Ryan Fleury 38e321df79 linux/demon: more flattening & extra layer elimination 2026-08-07 14:13:30 -06:00
Ryan Fleury 8c2efc5adf linux/demon flattening / clean-up checkpoint - eliminate redundant helpers, single-use functions, obsolete code 2026-08-07 13:23:42 -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 9c1b243472 remove dumb fudge factor 2026-08-06 15:18:42 -06:00
Ryan Fleury 50ecf0e68a linux/window_manager: window maximizing/minimizing/fullscreening 2026-08-06 15:13:28 -06:00
Ryan Fleury e423b31c80 adjustments 2026-08-06 14:33:16 -06:00
Ryan Fleury 13f9ddc18a set initial position of cursor trail correctly 2026-08-06 14:24:20 -06:00
Ryan Fleury eff0827607 hook up initial installation detection, in case program is manually installed externally 2026-08-06 14:14:51 -06:00
Ryan Fleury fd33f61a04 add symlink in local bin path for linux install 2026-08-06 14:01:19 -06: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 32ef9095e0 apply global animations toggle to all cursor trails 2026-08-06 10:28:00 -06:00
Ryan Fleury 5b5573c098 merge tab + menu w/ open tab command, flatten source files listing into tab menu 2026-08-06 10:28:00 -06:00
Ryan Fleury 6a33efe182 command metadata adjustments 2026-08-05 15:47:46 -06:00
Ryan Fleury 9d655c0190 more adjustments 2026-08-05 15:39:43 -06:00
Ryan Fleury e1d79d07b2 menu bar visual simplifications 2026-08-05 14:33:05 -06:00
Ryan Fleury d7685be114 do not assume non-empty config file destinations are okay if we don't have a config path established - will cause overwrites on 'opens' 2026-08-05 14:00:17 -06:00
Ryan Fleury 2f4aa6567e x11 icons; fix edit box clipping / scrolling in decorated cells 2026-08-05 13:54:48 -06:00
Ryan Fleury 914c1946b0 fix overly-aggressive visualization of unmapped addresses (while read is stale); fix unaligned allocations of xsave blocks in linux_demon; fix some edges in custom window borders in x11 2026-08-05 12:47:29 -06:00
Ryan Fleury e6e0992c63 lnx_wm: x11 borderless / redraw-while-resizing 2026-08-05 12:09:32 -06:00
Ryan Fleury a0a16ea11e fix eh_frame unwinder - switching to synchronous process reads exposed losing info about a missed address read for unwinding, so unwinds never succeeded 2026-08-04 18:51:01 -07:00
Ryan Fleury a6755d6191 fix linux build, fix small gl rendering issues 2026-08-04 15:38:28 -07:00
Ryan Fleury 11cb826181 plug eval2 into watch debug tooltips 2026-07-29 12:30:40 -07:00
Ryan Fleury 076d41130c fix qualified identifier expression tree buil 2026-07-29 11:40:41 -07:00
Ryan Fleury ba9d36624d lexer fixes; eval2 resolution qualifiers 2026-07-29 11:35:28 -07:00
Ryan Fleury b27585476a fix popup controls 2026-07-28 14:12:27 -07:00
Ryan Fleury 0fe5aa5a43 first pass at watch expr location locks - still some jank around the edges due to eval incompleteness, but works for basic cases 2026-07-28 11:18:00 -07:00
Ryan Fleury ae8960d563 watch lock (ui part, no caching yet) 2026-07-28 07:42:44 -07:00
Ryan Fleury ec520227c5 enforce standalone 'expression' child for watch expressions in cfg tree, adjust eval / ui to work on that child, instead of assuming the first child of a watch expression node is the expression string itself - this will let us tag watch expressions with other info, like project / lock status etc. 2026-07-27 16:02:10 -07:00
Ryan Fleury 0b4c20b165 fix the lack of using contextual cursor info to commit to command parameter registers 2026-07-27 15:50:52 -07:00
Ryan Fleury 81722ebbac fix oob mouse -> line path 2026-07-27 14:47:41 -07:00
Ryan Fleury 41735fbf8b fix mismatched spaces for token/line dragging 2026-07-27 14:47:41 -07:00
Ryan Fleury 0c434583bc eval, local variable resolution -> do not assume offset evaluations. infer evaluation mode from location info 2026-07-27 14:47:40 -07:00
Ryan Fleury 7fbea68613 fix line-terminated tokens causing incorrect token pt parsing - e.g. unmatched quote in a comment 2026-07-27 14:47:40 -07:00
Ryan Fleury 62241f0d55 fix text search fwds/bwds 2026-07-27 14:47:39 -07:00
Ryan Fleury aa94eb6901 fix find-text-forward 2026-07-27 14:47:38 -07:00
Ryan Fleury 65f5b81d49 fix incorrect multiline hotkey mode setting in text view 2026-07-27 14:47:38 -07:00
Ryan Fleury a27dc03ca2 start meta tokens correctly 2026-07-27 14:47:37 -07:00
Ryan Fleury e55fa733fd mostly restore existing read-only functionality, keep existing patching infrastructure but do not use 2026-07-27 14:47:36 -07:00
Ryan Fleury 9ed2e020e8 checkpoint 2026-07-27 14:47:36 -07:00
Ryan Fleury f247d3c52d fix chunk-up/down 2026-07-27 14:47:35 -07:00
Ryan Fleury 150a2247bb fix page-up 2026-07-27 14:47:34 -07:00
Ryan Fleury 604fe35d91 fix navigations when zero-delta-on-select is enabled in multi-line controls; thread line break parsing 2026-07-27 14:47:34 -07:00
Ryan Fleury 36da346590 binary search for off -> line num 2026-07-27 14:47:33 -07:00
Ryan Fleury c8dae72968 cleanup around single vs. multiline text mutation controls 2026-07-27 14:47:32 -07:00
Ryan Fleury 315e0672d3 checkpoint on text patches 2026-07-27 14:47:31 -07:00
Ryan Fleury bb85f6f692 text patches: checkpoint 2026-07-27 14:47:31 -07:00
Ryan Fleury 62328cea3f checkpoint on text patches 2026-07-27 14:47:07 -07:00
Ryan Fleury 20cd955cc9 eval2: first pass at type_key -> string path 2026-07-27 14:47:06 -07:00
Ryan Fleury 0963f4a6de const/volatile/unsigned/signed type operators 2026-07-27 14:47:06 -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 16c447bb79 eval2: leaf bytecode in ir tree 2026-06-28 07:36:24 -07:00
Ryan Fleury 96cfb441fd correctly use command titles in native file explorer 2026-06-27 12:07:24 -07:00
Ryan Fleury 0e2b4ac5e7 ui discoverability adjustments 2026-06-27 06:21:31 -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 410a8e3afa eval2: function pointer type parsing/compiling 2026-06-27 04:43:58 -07:00
Ryan Fleury cae9754099 eval2: fix parsing task popping rules, still give chance to rhs when popping tasks in all cases 2026-06-27 04:25:05 -07:00
Ryan Fleury b704e797e2 notes 2026-06-27 03:50:17 -07:00
Ryan Fleury 773e6554dc cycle detection in fully qualified string generation 2026-06-26 20:35:50 -07:00
Ryan Fleury fdbcf7ccdc eval2: first pass at c recursive type expression parsing 2026-06-26 16:19:19 -07:00
Ryan Fleury f1f654ecfd eval2: simplify expression parsing info, allow child reversal (for parsing non-canonical expression orders into canonical shapes, e.g. Rust-style casts like 123 as float32 -> cast(float32, 123); ptr/array type operators, etc./ 2026-06-26 13:20:38 -07:00
Ryan Fleury 60b266a1cc support size_of and type_of in clike expressions 2026-06-26 11:28:01 -06:00
Ryan Fleury 9491fdf5c2 eval2: split out expression kinds from parse styles of expressions - lets us separate semantic expression tree from frontend, so that we can easily switch frontend 2026-06-26 11:22:43 -06:00
Ryan Fleury bcbc5e4a2a eval2: macro argument expression tree parsing 2026-06-26 10:07:02 -06:00
Ryan Fleury d7393b2f65 eval2: split string -> expr compilation path into frontend / middle end - string -> expr, where expr is a loose structural syntax tree (where we can get macros and stuff without doing typechecking etc.), and expr -> irtree, where irtree is the usual typed / typechecked / ir structured representation - preserve minimal identifier resolution path for parser, but move most resolution things to the middle-end 2026-06-25 15:48:14 -07:00
Ryan Fleury c2b74260ef eval2: opkind -> exprkind, prepare for exprs being looser 2026-06-25 13:58:03 -07:00
Ryan Fleury 6b52d68c62 eval2 checkpoint: type operations, constructed types, checkpoint before splitting back to frontend / compiler split - we need to do things with the parse tree that we can't with an ir tree 2026-06-25 13:50:16 -07:00