aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/misc/radare2.md
blob: 673c911f3033f49c5283d5ccda6b1604e73d016c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# radare2(1)

## print
```markdown

  pd <n> [@ <addr>]     # print disassembly for <n> instructions
                        # with optional temporary seek to <addr>
```

## flags
```markdown
  fs            # list flag-spaces
  fs <fs>       # select flag-space <fs>
  f             # print flags of selected flag-space
```

## help
```markdown
  ?*~<kw>       # '?*' list all commands and '~' grep for <kw>
  ?*~...        # '..' less mode /'...' interactive search
```

## relocation
```markdown
  > r2 -B <baddr> <exe>         # open <exe> mapped to addr <baddr>
  oob <addr>                    # reopen current file at <baddr>
```