> For the complete documentation index, see [llms.txt](https://vxerlee.gitbook.io/radare2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vxerlee.gitbook.io/radare2/intro-8/getting_started.md).

# 入门

## Small session in radare2 debugger

* `r2 -d /bin/ls`: Opens radare2 with file `/bin/ls` in debugger mode using the radare2 native debugger, but does not run the program. You’ll see a prompt (radare2) - all examples are from this prompt.
* `db flag`: place a breakpoint at flag, where flag can be either an address or a function name
* `db - flag`: remove the breakpoint at flag, where flag can be either an address or a function name
* `db`: show list of breakpoint
* `dc`: run the program
* `dr`: Show registers state
* `drr`: Show registers references (telescoping) (like peda)
* `ds`: Step into instruction
* `dso`: Step over instruction
* `dbt`: Display backtrace
* `dm`: Show memory maps
* `dk <signal>`: Send KILL signal to child
* `ood`: reopen in debug mode
* `ood arg1 arg2`: reopen in debug mode with arg1 and arg2
