capstone-engine / capstone

Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), Alpha, BPF, Ethereum VM, HPPA, LoongArch, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.
http://www.capstone-engine.org
7.62k stars 1.56k forks source link

Generate bindings not working correctly #2520

Open JeffDerk opened 1 month ago

JeffDerk commented 1 month ago

The java bindings are not complete. The python binding generator does not generate cp_operand.h constants.

Arm_const.java:167: error: cannot find symbol public static final int ARM_OP_INVALID = CS_OP_INVALID; ^ symbol: variable CS_OP_INVALID location: class Arm_const Arm_const.java:168: error: cannot find symbol public static final int ARM_OP_REG = CS_OP_REG;

Rot127 commented 1 month ago

There is a discussion about bindings already: https://github.com/capstone-engine/capstone/discussions/2291. We need a more general way for them. Please see the discussion.