[Forensics-changes] [yara] 71/160: Added PT_GNU_STACK

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:29:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.4.0
in repository yara.

commit 5c76ef728a8e50e3c72801531eda23a9e6ca6d3a
Author: Michal Malik <root at devrandom.sk>
Date:   Sat Mar 28 17:37:28 2015 +0100

    Added PT_GNU_STACK
---
 libyara/include/yara/elf.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libyara/include/yara/elf.h b/libyara/include/yara/elf.h
index 266398d..b7ccf1d 100644
--- a/libyara/include/yara/elf.h
+++ b/libyara/include/yara/elf.h
@@ -91,7 +91,8 @@ typedef uint64_t elf64_xword_t;
 #define ELF_PT_SHLIB         5     // Reserved, unspecified semantics
 #define ELF_PT_PHDR          6     // Location and size of program header table
 #define ELF_PT_TLS           7     // Thread-Local Storage 
-#define ELF_PT_GNU_EH_FRAME  0x6474e550 
+#define ELF_PT_GNU_EH_FRAME  0x6474e550
+#define ELF_PT_GNU_STACK     0x6474e551
  
 #define ELF_PF_X             0x1   // Segment is executable
 #define ELF_PF_W             0x2   // Segment is writable

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list