(self, offset, size)
| 32 | return coff.decode_asciiz(value) # not COFF-specific |
| 33 | |
| 34 | def get_value(self, offset, size): |
| 35 | section = self._symbol["st_shndx"] |
| 36 | data = self._image.get_section(section).data() |
| 37 | base = self._symbol["st_value"] + offset |
| 38 | return data[base : base + size] |
| 39 | |
| 40 | |
| 41 | class ELFImage: |
no outgoing calls
no test coverage detected