You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pwndbg/docs/commands/start/entry.md

46 lines
1.0 KiB
Markdown

# entry
## Description
Start the debugged program stopping at its entrypoint address.
Note that the entrypoint may not be the first instruction executed
by the program. If you want to stop on the first executed instruction,
use the GDB's `starti` command.
Args may include "*", or "[...]"; they are expanded using the
shell that will start the program (specified by the "$SHELL" environment
variable). Input and output redirection with ">", "<", or ">>"
are also allowed.
With no arguments, uses arguments last specified (with "run" or
"set args"). To cancel previous arguments and run with no arguments,
use "set args" without arguments.
To start the inferior without using a shell, use "set startup-with-shell off".
## Usage:
```bash
usage: entry [-h] [args ...]
```
## Positional Arguments
|Positional Argument|Help|
| :--- | :--- |
|`args`|The arguments to run the binary with. (default: %(default)s)|
## Optional Arguments
|Short|Long|Default|Help|
| :--- | :--- | :--- | :--- |
|`-h`|`--help`||show this help message and exit|