cutter/docs/source/user-docs/command-line.rst
Giovanni cf14fd1006
Add Tools > BaseFind + command line options ()
* Add Tools > BaseFind
* Rewritten how cutter parses and stores the initial options
* Update docs and fixed comments
* Add missing endianness option
2023-06-25 11:42:23 +08:00

114 lines
2.3 KiB
ReStructuredText

Command-line Options
====================
Synopsis
--------
**Cutter** [*options*] [<*filename*> | --project <*project*>]
Options
-------
.. option:: <filename>
Filename to open. If not specified file selection dialog will be shown.
.. option:: -h, --help
Displays help on command-line options.
.. option:: --help-all
Displays help including Qt specific options.
.. option:: -v, --version
Displays version information.
.. option:: -A, --analysis <level>
When opening a file automatically perform analysis at a given level. Requires
:option:`<filename>` to be specified. Following levels are available:
**0**
No analysis.
**1**
aaa
**2**
aaaa (experimental)
.. option:: -a, --arch <arch>
Sets a specific architecture name.
.. option:: -b, --bits <bits>
Sets a specific architecture bits.
.. option:: -c, --cpu <cpu>
Sets a specific CPU.
.. option:: -o, --os <os>
Sets a specific operating system.
.. option:: -e, --endian <big|little>
Sets the endianness (big or little).
.. option:: -F, --format <name>
Force using a specific file format (bin plugin).
.. option:: -B, --base <base address>
Load binary at a specific base address.
.. option:: -m, --map <map address>
Map the binary at a specific address.
.. option:: -i <file>
Run script file.
.. option:: -p, --project <file>
Load project file.
.. option:: -w, --writemode
Open a file in write mode, instead of the default read-only mode.
When used together with -A/--analysis <level>, it will open a file directly
in write mode without any further dialog or confirmation.
.. option:: -P, --phymode
Disables virtual addressing.
.. option:: --pythonhome <PYTHONHOME>
PYTHONHOME to use for the embedded python interpreter.
.. option:: --no-output-redirect
Disable output redirection. Some of the output in the console widget will not
be visible. Use this option when debugging a crash or freeze and output
redirection is causing some messages to be lost.
.. option:: --no-plugins
Start cutter with all plugins disabled. Implies :option:`--no-cutter-plugins` and :option:`--no-rizin-plugins`.
.. option:: --no-cutter-plugins
Start cutter with cutter plugins disabled.
.. option:: --no-rizin-plugins
Start cutter with rizin plugins disabled.