* Rename `sj`/`s*` and move them under `sH`. Remove `s=` * Rename `s-*` to `sH-` * Use `sd` for "seek delta", which moves relative to the current offset * Enforce <cmd> <arg> syntax. So no more `s+16` but `s +16`. Command `sHr` is for redo history, `sHu` for undo history. If one wants to move relative to the current address, they need to do `sd +10`/`sd -10`. * Remove `ss` commands in favour of `cmd.seek.silent`. This was anyway used mainly for scripts, so no need to replicate all `s` commands under `ss`. Change a bit rz_core_seek API to avoid dupped entries in seek history.
24 lines
145 B
Text
24 lines
145 B
Text
NAME=t/malloc
|
|
FILE=malloc://1024
|
|
CMDS=<<EOF
|
|
s 0x666
|
|
s
|
|
s 15
|
|
s
|
|
s 034
|
|
s
|
|
s 0
|
|
sd +2
|
|
sd -1
|
|
s
|
|
sd +0x4
|
|
s
|
|
EOF
|
|
EXPECT=<<EOF
|
|
0x666
|
|
0xf
|
|
0x1c
|
|
0x1
|
|
0x5
|
|
EOF
|
|
RUN
|