Commit Graph

28 Commits

Author SHA1 Message Date
Elnath 5897c9e862 Continuing after a breakpoint both with single step and cont (but breakpoints still one-use) 2025-05-18 17:52:41 +02:00
Elnath bcb61a02f0 Added one-time breakpoints and continue from them 2025-05-18 17:41:12 +02:00
Elnath 1fb5e8c0f8 Organised modules in folders 2025-05-18 15:36:47 +02:00
Elnath 88072597a1 Modifed debug target type representation 2025-05-18 15:17:47 +02:00
Elnath aa661db532 Implemented a strace-like example program 2025-05-17 22:32:23 +02:00
Elnath 7537227636 Added names of syscalls to syscall_info debug print 2025-05-17 22:32:00 +02:00
Elnath b4e7e6864a Implemented custom wrapper to get syscall info 2025-05-17 22:05:23 +02:00
Elnath c968c0d09a Added possibility to wait on syscalls 2025-05-17 20:25:22 +02:00
Elnath c3d2944311 Bump nix version 2025-05-17 20:15:10 +02:00
Elnath 99999346ed Stepi now returning running state for handling program exit 2025-05-17 18:09:57 +02:00
Elnath b20fa4672d More specific error types for functions 2025-05-17 17:12:20 +02:00
Elnath 22391a4fe9 Differentiate errno from wait or ptrace call: no blanket From<Errno> impl 2025-05-17 16:55:39 +02:00
Elnath 3e4520e055 Implemented stepi but does not work when program exits 2025-05-17 16:47:34 +02:00
Elnath 1dac90f0d2 Fixed build script: was not waiting for subcommands to finish 2025-04-19 18:31:01 +02:00
Elnath 8a97cf48a7 Using color_eyre instead of anyhow in main 2025-04-19 18:07:39 +02:00
Elnath 37ace245b3 Custom error class and better error handling in main using thiserror and anyhow 2025-04-19 17:46:33 +02:00
Elnath c59e81571c Added README 2025-04-19 01:07:09 +02:00
Elnath f74e9ef01c Starting some kind of custom interface 2025-04-19 01:05:23 +02:00
Elnath 90dbe285d6 Easier way to choose which example program to debug 2025-04-18 23:38:44 +02:00
Elnath beb3a75cf2 Setting a breakpoint (and reformat file) 2025-04-18 23:36:55 +02:00
Elnath e929354975 Added an example C program to debug 2025-04-18 19:57:47 +02:00
Elnath 72470c5435 Extracted step-by-step inspection into own function 2025-04-18 19:49:13 +02:00
Elnath cd8ae69d7f Changing a register value 2025-04-18 19:27:55 +02:00
Elnath fa83367ebf Inspecting registers in step-by-step 2025-04-18 19:22:20 +02:00
Elnath 775d909585 ptrace used to single-step child program 2025-04-18 19:01:26 +02:00
Elnath 0528a6af22 Program forks and parent waits for child 2025-04-18 18:23:10 +02:00
Elnath 46d173bd56 Executing a target assembly program with execv 2025-04-18 17:24:17 +02:00
Elnath d14122fe03 Initial commit 2025-04-18 14:14:26 +02:00