mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 00:51:19 +00:00
76 lines
1.0 KiB
Plaintext
76 lines
1.0 KiB
Plaintext
NAME=to
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
pf ddd x y z
|
|
EOF
|
|
CMDS=to ../bins/headers/s1.h;t S1
|
|
RUN
|
|
|
|
NAME=to
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
pf ddd x test z
|
|
EOF
|
|
CMDS=to ../bins/headers/s2.h; t S1
|
|
RUN
|
|
|
|
NAME=to
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
pf ddd x test z
|
|
EOF
|
|
CMDS=to ../bins/headers/s1.h; to ../bins/headers/s2.h; t S1
|
|
RUN
|
|
|
|
NAME=to perturbated
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
pf ddd x test z
|
|
EOF
|
|
CMDS=to ../bins/headers/s1.h; to ../bins/headers/s4.h; t S1
|
|
RUN
|
|
|
|
NAME=to arrays
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
pf [3]d[4]dd x y z
|
|
struct
|
|
x,y,z
|
|
int32_t,0,3
|
|
int32_t,12,4
|
|
int32_t,28,0
|
|
EOF
|
|
CMDS=<<EOF
|
|
to ../bins/headers/s3.h
|
|
t S1
|
|
tk S1
|
|
tk struct.S1
|
|
tk struct.S1.x
|
|
tk struct.S1.y
|
|
tk struct.S1.z
|
|
EOF
|
|
RUN
|
|
|
|
NAME=to typedefs
|
|
FILE=-
|
|
EXPECT=<<EOF
|
|
dangerous=struct
|
|
days=typedef
|
|
easy_prey=typedef
|
|
humans=typedef
|
|
struct.dangerous=neo
|
|
struct.dangerous.!size=64
|
|
struct.dangerous.neo=uint64_t,0,0
|
|
struct.dangerous.neo.meta=13
|
|
tokyo=typedef
|
|
typedef.days=struct dangerous
|
|
typedef.easy_prey=uint32_t
|
|
typedef.humans=uint32_t
|
|
typedef.tokyo=struct dangerous
|
|
EOF
|
|
CMDS=<<EOF
|
|
to ../bins/headers/t1.h
|
|
tk~easy,humans,days,tokyo,dangerous
|
|
EOF
|
|
RUN
|