I found some bug, if into elf file doesnt contains section names, the parser may not see or display some sections.
Example:
First section in file has len(name) == 0
diff --git a/plasma/lib/fileformat/elf.py b/plasma/lib/fileformat/elf.py
index c1349b8..2176ade 100644
--- a/plasma/lib/fileformat/elf.py
+++ b/plasma/lib/fileformat/elf.py
@@ -108,7 +108,8 @@ class ELF(Binary):
# Load sections
for s in self.elf.iter_sections():
if not s.name:
- continue
+ s.name = '.unknow'
+ # continue
# Keep only sections R|W|X
# TODO : is it sufficiant ?
I found some bug, if into elf file doesnt contains section names, the parser may not see or display some sections. Example: First section in file has
len(name) == 0