mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
Support multibyte inc/dec with Vd1[+-] ##visual
Some checks failed
build / linux-wasi (push) Has been cancelled
build / linux-wasi-api (push) Has been cancelled
build / linux-csnext (push) Has been cancelled
build / linux-ssl-crypto (push) Has been cancelled
build / tarball (push) Has been cancelled
build / linux-static (push) Has been cancelled
build / linux-acr-rpm-64 (push) Has been cancelled
build / linux-acr-deb (amd64) (push) Has been cancelled
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Has been cancelled
build / linux-acr-deb (i386, multilib) (push) Has been cancelled
build / macos-acr (arm64, 13) (push) Has been cancelled
build / macos-acr (x86_64, 12) (push) Has been cancelled
build / ios (cydia32) (push) Has been cancelled
build / ios (true, cydia) (push) Has been cancelled
build / android-acr (16, arm) (push) Has been cancelled
build / android-acr (aarch64) (push) Has been cancelled
build / android-meson (x86_64) (push) Has been cancelled
build / w32-meson (push) Has been cancelled
build / w64-static-2022 (push) Has been cancelled
build / w64-static (push) Has been cancelled
build / w64-meson (push) Has been cancelled
CI / linux-acr-oldlibsbug (push) Has been cancelled
CI / linux-nocs (push) Has been cancelled
CI / linux-acr-gperf (push) Has been cancelled
CI / linux-sys-capstone (push) Has been cancelled
CI / linux-acr-resymlink (push) Has been cancelled
CI / linux-test (push) Has been cancelled
CI / linux-static-meson (push) Has been cancelled
CI / macos-test (push) Has been cancelled
CI / linux-rpath (push) Has been cancelled
CI / macos-rpath (push) Has been cancelled
CI / linux-meson-spaces (push) Has been cancelled
CI / linux-tinyasan-fuzz (push) Has been cancelled
CI / linux-asan-fuzz (push) Has been cancelled
CI / w64-make (push) Has been cancelled
CI / w32-mingw (push) Has been cancelled
CI / w64-mingw (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Coverity Scan / latest (push) Has been cancelled
tcc / ubuntu-tcc-newabi (push) Has been cancelled
tcc / ubuntu-tcc-test (push) Has been cancelled
tcc / ubuntu-tcc-nodbg (push) Has been cancelled
tcc / r2pm-tcc (push) Has been cancelled
tcc / ubuntu-tcc-syslibs (push) Has been cancelled
build / check_abi_compatibility (push) Has been cancelled
build / check_release (push) Has been cancelled
build / release (push) Has been cancelled
Some checks failed
build / linux-wasi (push) Has been cancelled
build / linux-wasi-api (push) Has been cancelled
build / linux-csnext (push) Has been cancelled
build / linux-ssl-crypto (push) Has been cancelled
build / tarball (push) Has been cancelled
build / linux-static (push) Has been cancelled
build / linux-acr-rpm-64 (push) Has been cancelled
build / linux-acr-deb (amd64) (push) Has been cancelled
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Has been cancelled
build / linux-acr-deb (i386, multilib) (push) Has been cancelled
build / macos-acr (arm64, 13) (push) Has been cancelled
build / macos-acr (x86_64, 12) (push) Has been cancelled
build / ios (cydia32) (push) Has been cancelled
build / ios (true, cydia) (push) Has been cancelled
build / android-acr (16, arm) (push) Has been cancelled
build / android-acr (aarch64) (push) Has been cancelled
build / android-meson (x86_64) (push) Has been cancelled
build / w32-meson (push) Has been cancelled
build / w64-static-2022 (push) Has been cancelled
build / w64-static (push) Has been cancelled
build / w64-meson (push) Has been cancelled
CI / linux-acr-oldlibsbug (push) Has been cancelled
CI / linux-nocs (push) Has been cancelled
CI / linux-acr-gperf (push) Has been cancelled
CI / linux-sys-capstone (push) Has been cancelled
CI / linux-acr-resymlink (push) Has been cancelled
CI / linux-test (push) Has been cancelled
CI / linux-static-meson (push) Has been cancelled
CI / macos-test (push) Has been cancelled
CI / linux-rpath (push) Has been cancelled
CI / macos-rpath (push) Has been cancelled
CI / linux-meson-spaces (push) Has been cancelled
CI / linux-tinyasan-fuzz (push) Has been cancelled
CI / linux-asan-fuzz (push) Has been cancelled
CI / w64-make (push) Has been cancelled
CI / w32-mingw (push) Has been cancelled
CI / w64-mingw (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Coverity Scan / latest (push) Has been cancelled
tcc / ubuntu-tcc-newabi (push) Has been cancelled
tcc / ubuntu-tcc-test (push) Has been cancelled
tcc / ubuntu-tcc-nodbg (push) Has been cancelled
tcc / r2pm-tcc (push) Has been cancelled
tcc / ubuntu-tcc-syslibs (push) Has been cancelled
build / check_abi_compatibility (push) Has been cancelled
build / check_release (push) Has been cancelled
build / release (push) Has been cancelled
This commit is contained in:
parent
d7d78c9a6e
commit
7ba5b1e708
@ -817,10 +817,23 @@ R_API bool r_core_visual_bit_editor(RCore *core) {
|
||||
}
|
||||
break;
|
||||
case '+':
|
||||
buf[(x/8)]++;
|
||||
{
|
||||
const int nbyte = x / 8;
|
||||
int last = R_MIN (nbyte + wordsize, 8);
|
||||
for (i = nbyte; i < last; i++) {
|
||||
buf[i]++;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case '-':
|
||||
buf[(x / 8)]--;
|
||||
//buf[(x / 8)]--;
|
||||
{
|
||||
const int nbyte = x / 8;
|
||||
int last = R_MIN (nbyte + wordsize, 8);
|
||||
for (i = nbyte; i < last; i++) {
|
||||
buf[i]--;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'h':
|
||||
x = R_MAX (x - 1, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user