* Changed behavior of `f` to only add flag if there is none * Changed behavior of `f+` to add flag in any case * Moved listing subcommands from `f` to `fl` * Moved listing subcommands from `f.` to `f.l` * Added subcommand `f.l*` to list all local flags in all functions * Listing flags at the current offset became `fl.` * Moved `f=` to `fl=` * Old `fl` (flag length) now became `fL` * Removed original `fe` commands * Old `f?` (check if flag exists) now became `fe` * Removed `fV` commands * Removed `fn` commands in favor of `fl` and `asm.flags.real=true` * Removed `fS` commands (`fSo` and `fSn`) * `fo` became `fortune` and moved from "flags" to "shell" category * Removed oldshell handlers of the `z` commands
29 lines
286 B
Text
29 lines
286 B
Text
NAME=asm/callflag
|
|
FILE==
|
|
CMDS=<<EOF
|
|
e asm.arch=x86
|
|
f+ eax @ 33
|
|
pa call eax
|
|
f+ test @ eax
|
|
pa call test
|
|
EOF
|
|
EXPECT=<<EOF
|
|
ffd0
|
|
e81c000000
|
|
EOF
|
|
RUN
|
|
|
|
NAME=asm.assembler
|
|
BROKEN=1
|
|
FILE==
|
|
CMDS=<<EOF
|
|
e asm.arch=x86
|
|
pa call eax
|
|
e asm.assembler=java
|
|
pa bipush 33
|
|
EOF
|
|
EXPECT=<<EOF
|
|
ffd0
|
|
1021
|
|
EOF
|
|
RUN
|