Skip to content

Commit 56dd77b

Browse files
rliebigelicn
authored andcommitted
disable getauxval HWCAP value for ARM64, which indicates Atomics support, which is however not implemented in current Unicorn versions
1 parent 015b389 commit 56dd77b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiling/loader/elf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def __push_str(top: int, s: str) -> int:
330330
hwcap_values = {
331331
(QL_ARCH.ARM, QL_ENDIAN.EL, 32): 0x001fb8d7,
332332
(QL_ARCH.ARM, QL_ENDIAN.EB, 32): 0xd7b81f00,
333-
(QL_ARCH.ARM64, QL_ENDIAN.EL, 64): 0x078bfbfd
333+
(QL_ARCH.ARM64, QL_ENDIAN.EL, 64): 0x078bfafd
334334
}
335335

336336
# determine hwcap value by arch properties; if not found default to 0

0 commit comments

Comments
 (0)