[Local::a.exe ]-> .d 401000 10
0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456789ABCDEF
00401000 55 8b ec 81 c4 fc fe ff ff 8b 45 0c 83 f8 01 75 U.........E....u
The quick cmd starts with '.' (same as nodejs REPL), and can be customized dynamically by the javascript loaded.
For example, set a new quick cmd 'u' in agent.js :
REPL.setQuickCmd(
'u', // the quick cmd
1, // at least 1 argument
function disasm(addr, inst_cnt = 10) { ... } // target function
)
The feature "quick command" in frida REPL, like:
The quick cmd starts with '.' (same as nodejs REPL), and can be customized dynamically by the javascript loaded.
For example, set a new quick cmd 'u' in
agent.js
:Which can be used in REPL: