Beispiel #1
0
 def get_content(self, offset, size):
     """Return the specified number of bytes from the current section."""
     return _bfd.section_get_content(self.bfd, self._ptr, offset, size)
Beispiel #2
0
 def content(self):
     """Return the entire section content."""
     return _bfd.section_get_content(self.bfd, self._ptr, 0, self.size)