@@
Run a for loop
Repeat a command over a list of offsets
Tips
- Example:
wx 90 @@ /x80
. This will replace all hex 80 with hex 90 - Use
@@
as a replacement for a for i in x loop (iterator). Example:axt @@ str.*
will look for xref of all strings and return thier offsets.
x @@ sym.*
run 'x' over all flags matching 'sym.' in current flagspacex @@dbt[abs]
run 'x' command on every backtrace address, bp or spx @@.file
run 'x' over the offsets specified in the file (one offset per line)x @@=off1 off2 ..
manual list of offsets-
🚀
x@@=
Run query over multiple offsets asciinema x @@/x 9090
temporary set cmd.hit to run a command on each search result-
⭐
@@/
Can be used to search and replace something. Usage in this case isw mystring_replace @@/ mystring_to_search
x @@k sdbquery
run 'x' on all offsets returned by that sdbqueryx @@t
run 'x' on all threads (see dp)x @@b
run 'x' on all basic blocks of current function (see afb)x @@i
run 'x' on all instructions of the current function (see pdr)x @@iS
run 'x' on all sections adjusting blocksizex @@f
run 'x' on all functions (see aflq)x @@f:write
run 'x' on all functions matching write in the namex @@s:from to step
run 'x' on all offsets from, to incrementing by stepx @@c:cmd
the same as @@=`` without the backticksx @@=pdf~call[0]
run 'x' at every call offset of the current function-
🚀⭐
@@=
can be used to loop over the output of a command and run another command against it. asciinema
search and replace