radare2/doc/strings.md

38 lines
746 B
Markdown
Raw Normal View History

Loading strings from binaries
=============================
TODO: explain bin.minstr
Config vars
-----------
2018-02-27 09:54:54 +00:00
```
bin.strings = [true] - load strings from file
bin.rawstr = [false] - load strings from unknown rbin
2018-02-27 09:54:54 +00:00
```
Program args
------------
2018-02-27 09:54:54 +00:00
```
rabin2 -z # list strings
rabin2 -zz # list strings from raw binary (unknown rbin type)
2018-02-27 09:54:54 +00:00
```
Examples
--------
2018-02-27 09:54:54 +00:00
```
r2 -e bin.rawstr=true
r2 -z # do not load strings (same as bin.strings=false)
r2 -zz # load strings even if unknown bin (same as bin.rawstr=true)
r2 -n # do not load symbols or anything
r2 -e bin.strings=false # load symbols but not strings
if (bin.strings) {
if RBin.format(isKnown) {
loadStrings()
} else {
if (bin.rawstr)
loadStrings()
}
}
2018-02-27 09:54:54 +00:00
```