Skip to content

Commit 3a94942

Browse files
committed
Revisit the Arm64 support
Aarch64 based GNU/Linux is known to work with dudect. However, on Apple M1, it is still failing to pass constant-time verifications.
1 parent ddb2757 commit 3a94942

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

qtest.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,10 @@ static bool do_remove(int option, int argc, char *argv[])
318318
// option 0 is for remove head; option 1 is for remove tail
319319

320320
/* FIXME: It is known that both functions is_remove_tail_const() and
321-
* is_remove_head_const() can not pass dudect on Arm64. We shall figure
322-
* out the exact reasons and resolve later.
321+
* is_remove_head_const() can not pass dudect on Apple M1 (based on Arm64).
322+
* We shall figure out the exact reasons and resolve later.
323323
*/
324-
#if !defined(__aarch64__)
324+
#if !(defined(__aarch64__) && defined(__APPLE__))
325325
if (simulation) {
326326
if (argc != 1) {
327327
report(1, "%s does not need arguments in simulation mode", argv[0]);

scripts/aspell-pws

+3
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,6 @@ syscall
159159
getrandom
160160
dev
161161
urandom
162+
aarch
163+
risc
164+
riscv

0 commit comments

Comments
 (0)