Radare2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
|aaaa | |aaaa | ||
|Perform all binary analysis | |Perform all binary analysis | ||
|- | |||
|e <nowiki><var></nowiki> | |||
|Get <nowiki><var> value</nowiki> | |||
|- | |||
|e <varl>=<value> | |||
|Set <nowiki><var> to <vaue></nowiki> | |||
|- | |- | ||
|iz | |iz | ||
| Line 21: | Line 27: | ||
|iz ~ foo | |iz ~ foo | ||
|Grep foo from the output of iz | |Grep foo from the output of iz | ||
|- | |||
|s | |||
|Seek / Set base address | |||
|- | |||
|b | |||
|Set block size | |||
|- | |- | ||
|pd @ <addr> | |pd @ <addr> | ||
|Disassemble at address | |Disassemble at address | ||
|- | |||
|wen 4 | |||
|Insert 4 null bytes at the base address | |||
|- | |||
|^ | |||
|Go to beginning of function | |||
|- | |||
|' | |||
|Toggle graph comments in '''Visual Mode''' | |||
|} | |} | ||
Latest revision as of 18:10, 7 April 2021
radare2 is a reverse engineering tool.
Commands
| Command | Comment |
|---|---|
| aaaa | Perform all binary analysis |
| e <var> | Get <var> value |
| e <varl>=<value> | Set <var> to <vaue> |
| iz | Print strings in the .data section |
| izz | Print strings in the binary |
| is | Print symbols |
| iz ~ foo | Grep foo from the output of iz |
| s | Seek / Set base address |
| b | Set block size |
| pd @ <addr> | Disassemble at address |
| wen 4 | Insert 4 null bytes at the base address |
| ^ | Go to beginning of function |
| ' | Toggle graph comments in Visual Mode |