Skip to content

Commit

Permalink
i#4474: Port security-common.selfmod test to AArch64 (#6908)
Browse files Browse the repository at this point in the history
Port security-common.selfmod test to AArch64.

These tests will catch issues like
#5771.

Issue: #4474
  • Loading branch information
philramsey-arm authored Aug 21, 2024
1 parent 866df3f commit d26a744
Show file tree
Hide file tree
Showing 3 changed files with 330 additions and 28 deletions.
6 changes: 4 additions & 2 deletions suite/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5938,20 +5938,22 @@ endif (NOT ARM)
if (X86 OR AARCH64) # FIXME i#1551: port asm to ARM
tobuild(security-common.selfmod2 security-common/selfmod2.c)
tochcon(security-common.selfmod2 textrel_shlib_t)

tobuild(security-common.selfmod security-common/selfmod.c)
tochcon(security-common.selfmod textrel_shlib_t)
endif (X86 OR AARCH64)

if (X86) # FIXME i#1551, i#1569: port asm to ARM and AArch64
if (NOT APPLE) # XXX i#58: port test to MacOS
tobuild(security-common.selfmod-big security-common/selfmod-big.c)
tochcon(security-common.selfmod-big textrel_shlib_t)
endif ()
tobuild(security-common.selfmod security-common/selfmod.c)
tochcon(security-common.selfmod textrel_shlib_t)
if (NOT X64 AND NOT APPLE) # XXX i#58: port test to MacOS
# FIXME i#125
tobuild(security-common.vbjmp-rac-test security-common/vbjmp-rac-test.c)
endif ()
endif (X86)

if (X64 AND NOT AARCH64 AND NOT RISCV64) # FIXME i#1569: get working on AArch64
# Reachability tests

Expand Down
Loading

0 comments on commit d26a744

Please sign in to comment.