mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 13:49:50 +00:00
48 lines
602 B
Plaintext
48 lines
602 B
Plaintext
NAME=pdx medium size instructions
|
|
FILE=-
|
|
ARGS=-a x86 -b 32
|
|
EXPECT=<<EOF
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
nop
|
|
EOF
|
|
CMDS=pdx 9090909090
|
|
RUN
|
|
|
|
NAME=pdx smaller instruction
|
|
FILE=-
|
|
ARGS=-a x86 -b 32
|
|
EXPECT=<<EOF
|
|
push edx
|
|
out dx, al
|
|
EOF
|
|
CMDS=pdx 52ee
|
|
RUN
|
|
|
|
NAME=pdx large instruction
|
|
FILE=-
|
|
ARGS=-a x86 -b 32
|
|
EXPECT=<<EOF
|
|
xor eax, eax
|
|
cdq
|
|
push edx
|
|
push 0x7461632f
|
|
push 0x6e69622f
|
|
mov ebx, esp
|
|
push edx
|
|
push 0x64777373
|
|
push 0x61702f2f
|
|
push 0x6374652f
|
|
mov ecx, esp
|
|
mov al, 0xb
|
|
push edx
|
|
push ecx
|
|
push ebx
|
|
mov ecx, esp
|
|
int 0x80
|
|
EOF
|
|
CMDS=pdx 31c09952682f636174682f62696e89e3526873737764682f2f7061682f65746389e1b00b52515389e1cd80
|
|
RUN
|