- Manage zignatures
z
: show zignaguresz*
: show zignatures in radare formatz- zignature
: delete zignaturez-*
: delete all zignatures- Load zignatures from file:
zo filename
: load zignatures from filezoz filename
: load zinagures from gzip filezod filename
: load zinatures from sdb file
- Create zignatures manually:
zb name type bytes
: create anal zignaturezB name type bytes
: create exact-match zignaturezbf [name]
: create anal zignature for function (use function name if name is not given)zBf [name]
: create exact-match zignature for function (use function name if name is not given)zm name param
: create metric zignature (e.g.zm foo bbs=10 calls=printf,exit
)
- Generate zignatures from detected functions:
zg zignspace [file]
: generate anal zignatures for all functions (and save in file)zG namespace [file]
: generate exact-match zignatures for all functions (and save in file)
- FLIRT:
zfs filename
: open FLIRT file and scanzfd filename
: open FLIRT file and dumpzfz filename
: open FLIRT file and get sig commands (zfz flirt_file > zignatures.sig
)
- Check zignatures
z/ [ini] [end]
: search zignatures on range and flag matchesz/* [ini] [end]
: search zignatures on range and output radare commandszc
: check zignatures at address
- Manage zignspaces
zs
: display zignspaces (status per zignspace)zs zignspace
: select zignspacezs *
: select all zignspacezs- zignspace
: delete zignspacezs-*
: delete all zignspaces
- R_SIGN_BYTE ('b'): Bytes
- R_SIGN_FUNC ('f'): Function body
- R_SIGN_HEAD ('h'): Function header/prologue
- New commands aim to be consistent with flag management
- Bytes can contain '.' (dots) to specify a binary mask