Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testsuite for flags #15566

Open
29 of 33 tasks
Maijin opened this issue Apr 17, 2015 · 0 comments
Open
29 of 33 tasks

Add testsuite for flags #15566

Maijin opened this issue Apr 17, 2015 · 0 comments
Labels
r2r Regression tests

Comments

@Maijin
Copy link
Contributor

Maijin commented Apr 17, 2015

  • fc [name] [color] set color for given flag
  • fn list flags displaying the real name (demangled)
  • fR [f] [t] [m] relocate all flags matching f&~m 'f'rom, 't'o, 'm'ask
  • fx[d] show hexdump (or disasm) of flag:flagsize
  • Usage: f [?] [flagname] # Manage offset-name flags
  • f list flags (will only list flags from selected flagspaces)
  • f. [[]] list local per-function flags (*) as r2 commands
  • f.blah=$$+12 set local function label named 'blah'
  • f* list flags in r commands
  • f name 12 @ 33 set flag 'name' with length 12 at offset 33
  • f name = 33 alias for 'f name @ 33' or 'f name 1 33'
  • f name 12 33 [cmt] same as above + optional comment
  • f-.blah@fcn.foo delete local label from function at current seek (also f.-)
  • f-- delete all flags and flagspaces (deinit)
  • f+name 12 @ 33 like above but creates new one if doesnt exist
  • f-name remove flag 'name'
  • f-@addr remove flag at address expression
  • f. fname list all local labels for the given function
  • fa [name] [alias] alias a flag to evaluate an expression
  • fb [addr] set base address for new flags
  • fb [addr] [flag*] move flags matching 'flag' to relative addr
  • fC [name] [cmt] set comment for given flag
  • fd addr return flag+delta
  • fe- resets the enumerator counter
  • fe [name] create flag name.#num# enumerated flag. See fe?
  • fg bring visual mode to foreground
  • fj list flags in JSON format
  • fl [flagname] show flag length (size)
  • fm addr move flag at current offset to new address
  • fo show fortunes
  • fr [old] [[new]] rename flag (if no new flag current seek one is used)
  • fs ?+-* manage flagspaces
  • fS[on] sort flags by offset or name
@XVilka XVilka transferred this issue from another repository Dec 9, 2019
@Maijin Maijin added the r2r Regression tests label Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
r2r Regression tests
Projects
None yet
Development

No branches or pull requests

1 participant