From 42f4f34d8c4d26d9033c6905f912279237a1a3f3 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 17 Nov 2019 14:43:01 +0100 Subject: updated README, added r2 notes --- README.md | 5 +++-- explore-elf.txt | 7 ++++--- radare2.txt | 13 +++++++++++++ 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 388a65d..fd1d920 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ -# notes +# cheatsheets & notes -Personal collection of notes. +This is a personal collection of `cheatsheets` and `notes` I take during +development as well as machine maintenance. Vim `:helptags` can be generated by running: ``` diff --git a/explore-elf.txt b/explore-elf.txt index 88c42f0..e22f708 100644 --- a/explore-elf.txt +++ b/explore-elf.txt @@ -14,9 +14,10 @@ -W|--wide wide output, dont break output at 80 chars -h print ELF header -S print sections headers - -l print program headers - -d print dynamic section - -s print symbol table + -l print program headers + segment mapping + -d print .dynamic section (dynamic link information) + -s print symbol table(s) + -r print relocation table(s) # objdump(1) *objdump* ============= diff --git a/radare2.txt b/radare2.txt index 79402d3..1706d77 100644 --- a/radare2.txt +++ b/radare2.txt @@ -3,9 +3,22 @@ # toc ------ + |print| + |flags| |help| |relocation| +# print *print* +======= + pd [@ ] # print disassembly for instructions + # with optional temporary seek to + +# flags *flags* +======= + fs # list flag-spaces + fs # select flag-space + f # print flags of selected flag-space + # help *help* ======= ?*~ # '?*' list all commands and '~' grep for -- cgit v1.2.3