mirror of https://github.com/MISP/PyMISP
parent
31608b1480
commit
3252361b3c
|
@ -65,6 +65,8 @@ class ELFObject(AbstractMISPObjectGenerator):
|
||||||
if self.__elf.sections:
|
if self.__elf.sections:
|
||||||
pos = 0
|
pos = 0
|
||||||
for section in self.__elf.sections:
|
for section in self.__elf.sections:
|
||||||
|
if not section.name:
|
||||||
|
continue
|
||||||
s = ELFSectionObject(section, standalone=self._standalone, default_attributes_parameters=self._default_attributes_parameters)
|
s = ELFSectionObject(section, standalone=self._standalone, default_attributes_parameters=self._default_attributes_parameters)
|
||||||
self.add_reference(s.uuid, 'includes', 'Section {} of ELF'.format(pos))
|
self.add_reference(s.uuid, 'includes', 'Section {} of ELF'.format(pos))
|
||||||
pos += 1
|
pos += 1
|
||||||
|
|
Loading…
Reference in New Issue