(self, elf_file_path)
| 700 | return base64.b64encode(string.encode()).decode() |
| 701 | |
| 702 | def get_elf_entry(self, elf_file_path): |
| 703 | readelf_header = subprocess.check_output([ |
| 704 | self.get_toolchain_tool('readelf'), |
| 705 | '-h', |
| 706 | elf_file_path |
| 707 | ]) |
| 708 | for line in readelf_header.decode().split('\n'): |
| 709 | split = line.split() |
| 710 | if line.startswith(' Entry point address:'): |
| 711 | addr = line.split()[-1] |
| 712 | break |
| 713 | return int(addr, 0) |
| 714 | |
| 715 | def gem5_list_checkpoint_dirs(self): |
| 716 | ''' |
nothing calls this directly
no test coverage detected