diff --git a/nixos.just b/nixos.just index 9fea880..e0590b0 100644 --- a/nixos.just +++ b/nixos.just @@ -85,10 +85,10 @@ remove-db: gdb module: gdb --tui {{ BUILD_DIR }}-{{ module }}/system.elf -[doc("Launch radare2 at os_main")] +[doc("Launch radare2")] [group("debug")] -radare module: - radare2 -AA -c "s dbg.os_main; pdf" {{ BUILD_DIR }}-{{ module }}/system.elf +radare module addr="dbg.os_main": + radare2 -AA -c "s {{ addr }}; pdf" {{ BUILD_DIR }}-{{ module }}/system.elf # =================================================================================================================== # # Just do it