Last active
April 12, 2020 21:14
-
-
Save alonstern/5ab831d4ace23adc055e0e819312e12d to your computer and use it in GitHub Desktop.
Extract code from an elf file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def _generate_data(self, binary_elf: ELFFile): | |
| return numpy.array(list(binary_elf.get_section_by_name(".text").data()), dtype=int) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment