crasher: hide xom from help when unavailable

Test: m crasher
Change-Id: Iaf25dd650eb5cf6e8b0933f574b3d4a208b74da9
This commit is contained in:
Josh Gao 2024-05-16 13:52:17 -07:00
parent 77a80d1744
commit 3a9a989484

View file

@ -202,7 +202,9 @@ static int usage() {
fprintf(stderr, " fdsan_file close a file descriptor that's owned by a FILE*\n");
fprintf(stderr, " fdsan_dir close a file descriptor that's owned by a DIR*\n");
fprintf(stderr, " seccomp fail a seccomp check\n");
#if defined(__LP64__)
fprintf(stderr, " xom read execute-only memory\n");
#endif
fprintf(stderr, "\n");
fprintf(stderr, " LOG_ALWAYS_FATAL call liblog LOG_ALWAYS_FATAL\n");
fprintf(stderr, " LOG_ALWAYS_FATAL_IF call liblog LOG_ALWAYS_FATAL_IF\n");