示例#1
0
文件: elf.py 项目: 0xtob/Stachelfish
 def toBinArray(self):
   """
   @return: a L{BinArray} with the content of the pseudo-section.
   """
   ba = BinArray(self.interpreter)
   ba.append(0)
   return ba
示例#2
0
文件: elf.py 项目: 0xtob/Stachelfish
 def toBinArray(self):
   ba = BinArray(self.ei_magic)
   ba.append(self.ei_class)
   ba.append(self.ei_data)
   ba.append(self.ei_version)
   ba.append(self.ei_osabi)
   ba.append(self.ei_abiversion)
   ba.extend(self.ei_pad)
   return ba