mirror of https://github.com/pwndbg/pwndbg.git
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.
33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
<!-- THIS PART OF THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT. See scripts/generate-docs.sh -->
|
|
# asm
|
|
|
|
```text
|
|
usage: asm [-h] [-f {hex,string}]
|
|
[--arch {powerpc64,aarch64,powerpc,riscv32,riscv64,sparc64,mips64,msp430,alpha,amd64,sparc,thumb,cris,i386,ia64,m68k,mips,s390,none,avr,arm,vax}]
|
|
[-v AVOID] [-n] [-z] [-i INFILE]
|
|
[shellcode ...]
|
|
|
|
```
|
|
|
|
Assemble shellcode into bytes
|
|
### Positional arguments
|
|
|
|
|Positional Argument|Help|
|
|
| :--- | :--- |
|
|
|shellcode|Assembler code to assemble (default: '[]')|
|
|
|
|
### Optional arguments
|
|
|
|
|Short|Long|Help|
|
|
| :--- | :--- | :--- |
|
|
|-h|--help|show this help message and exit|
|
|
|-f|--format|Output format (default: 'hex')|
|
|
||--arch|Target architecture|
|
|
|-v|--avoid|Encode the shellcode to avoid the listed bytes (provided as hex)|
|
|
|-n|--newline|Encode the shellcode to avoid newlines|
|
|
|-z|--zero|Encode the shellcode to avoid NULL bytes|
|
|
|-i|--infile|Specify input file|
|
|
|
|
<!-- END OF AUTOGENERATED PART. Do not modify this line or the line below, they mark the end of the auto-generated part of the file. If you want to extend the documentation in a way which cannot easily be done by adding to the command help description, write below the following line. -->
|
|
<!-- ------------\>8---- ----\>8---- ----\>8------------ -->
|