Skip to content

Commit

Permalink
crasher: hide xom from help when unavailable
Browse files Browse the repository at this point in the history
Test: m crasher
Change-Id: Iaf25dd650eb5cf6e8b0933f574b3d4a208b74da9
  • Loading branch information
Josh Gao committed May 16, 2024
1 parent 77a80d1 commit 3a9a989
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debuggerd/crasher/crasher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 3a9a989

Please sign in to comment.