Join Nostr
2026-09-07 09:05:42 UTC
in reply to

pancake :radare2: on Nostr: i sent you for review and discuss and mentioned in the prs waiting for feedback. in ...

i sent you for review and discuss and mentioned in the prs waiting for feedback. in short:

* New ops: CLZ, POPCNT, ROT
* 66 C-ops are now defines (-800LOC)

CLZ and POPCNT were tedious to implement in pure esil and also buggy, and there are at least 4 archs providing native instructions for those bit ops. the rest of bitcounting and checksuming binary level instructions can be built on top of those.

ROT is one of the pilars of Forth, and it was key to implement these 66 ops as defines.

The rest of the changes are basically improved esil expressions, comparing qemu and unicorn executions vs the esil emulation. Lots of those for powerpc, x64, arm64, arm32, riscv and Dalvik (which nows does way more than basic math)