Configuration
To prevent radare2 from parsing this file at startup, pass it the -N
option.
All the configuration of radare2 is done with the eval
commands. A typical startup configuration file looks like this:
Internally, the configuration is stored in a hash table. The variables are grouped in namespaces: cfg.
, file.
, dbg.
, scr.
and so on.
To get a list of all configuration variables just type e
in the command line prompt. To limit the output to a selected namespace, pass it with an ending dot to . For example, e file.
will display all variables defined inside the “file” namespace.
A simpler alternative to the e
command is accessible from the visual mode. Type Ve
to enter it, use arrows (up, down, left, right) to navigate the configuration, and to exit it. The start screen for the visual configuration edit looks like this:
For configuration values that can take one of several values, you can use the =?
operator to get a list of valid values: