Skip to content

Commit 8db0002

Browse files
committed
rs: bump capstone to 6.0.0-Alpha4-8-gefc0ba44 to fix upstream bugs
1 parent e8a00ce commit 8db0002

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+95280
-87948
lines changed

capstone-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ fn write_bindgen_bindings(
282282
.layout_tests(false) // eliminate test failures on platforms with different pointer sizes
283283
.impl_debug(true)
284284
.constified_enum_module("cs_err|cs_group_type|cs_opt_value|cs_xtensa_op_type")
285-
.bitfield_enum("cs_mode|cs_ac_type|arm_spsr_cspr_bits")
285+
.bitfield_enum("cs_mode|cs_ac_type|arm_spsr_cpsr_bits")
286286
.rustified_enum(".*")
287287
.array_pointers_in_arguments(true)
288288
.no_copy("cs_insn");

capstone-sys/capstone/arch/AArch64/AArch64DisassemblerExtension.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
bool AArch64_getFeatureBits(unsigned int mode, unsigned int feature)
99
{
10+
if (feature == AArch64_FeatureAMX || feature == AArch64_FeatureMUL53 ||
11+
feature == AArch64_FeatureAppleSys) {
12+
return mode & CS_MODE_APPLE_PROPRIETARY;
13+
}
1014
// we support everything
1115
return true;
1216
}

0 commit comments

Comments
 (0)