3 ms·
starti, rbreak and ptype sound good even if they've been available as idioms before.
by xuhu 9y ago
starti, rbreak and ptype sound good even if they've been available as idioms before.
- ebeip90 9y agostarti did not exist before, and specifically addresses a StackOverflow question of mine from ~3 years ago: https://reverseengineering.stackexchange.com/questions/8724 https://reverseengineering.stackexchange.com/questions/8724 ptype already existed, but did not print out offsets. This is incredibly useful, and something Windbg does with dt. Pwndbg does this in GDB by adding new commands.
- rurban 9y agoDoes this mean p does not work anymore, because there are now 2 commands starting with p? This would be a shame.
- rurban 9y agoI checked it out. p still works as before. But I needed a C++ patch on osx with cc/clang. Apparently they added cxx files with the .c extension: gdb/probe.c:63 - const any_static_probe_ops any_static_probe_ops; + any_static_probe_ops any_static_probe_ops;
- akrasuski1 9y agoPresumably the stackexchange answer is what OP meant by it being an idiom.