[PATCH] D74393: [llvm-readobj] Add support for decoding FreeBSD ELF notes
Jordan Rupprecht via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 3 14:09:08 PST 2021
rupprecht added inline comments.
================
Comment at: llvm/tools/llvm-readobj/ELFDumper.cpp:4910-4915
+#define NT_FREEBSD_FCTL_ASLR_DISABLE 0x00000001
+#define NT_FREEBSD_FCTL_PROTMAX_DISABLE 0x00000002
+#define NT_FREEBSD_FCTL_STKGAP_DISABLE 0x00000004
+#define NT_FREEBSD_FCTL_WXNEEDED 0x00000008
+#define NT_FREEBSD_FCTL_LA48 0x00000010
+#define NT_FREEBSD_FCTL_ASG_DISABLE 0x00000020 /* ASLR STACK GAP Disable */
----------------
Can you define this as an enum, like in `llvm/include/llvm/BinaryFormat/ELF.h`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74393/new/
https://reviews.llvm.org/D74393
More information about the llvm-commits
mailing list