Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

how to get pc_offset.txt? #7

Open
comomind opened this issue Oct 18, 2022 · 0 comments
Open

how to get pc_offset.txt? #7

comomind opened this issue Oct 18, 2022 · 0 comments

Comments

@comomind
Copy link

I runed your scirpt with my libapp.so file.
But I got some errors because pc_offset.txt does not fit to my libapp.so
so how to make pc_offset.txt for my libapp.so file?

0xdcdcf5f5
2977214
1441d6b13b8623fa7fbf61433abebd31
b'product no-code_comments no-dwarf_stack_traces_mode lazy_async_stacks no-lazy_dispatchers dedup_instructions no-asserts arm64-sysv compressed-pointers null-safety'
num_base_objects_ = 1025 num_objects_ = 149913 573 1132 instructions_table_len 22253 instruction_table_data_offset 16
Traceback (most recent call last):
File "/Users/comomind/Downloads/h2/pixel4/unpackFlutter/unpackFlutter-1441d6b13b8623fa7fbf61433abebd31/main.py", line 2692, in
parse_elf_file('res/libapp.so')
File "/Users/comomind/Downloads/h2/pixel4/unpackFlutter/unpackFlutter-1441d6b13b8623fa7fbf61433abebd31/main.py", line 2688, in parse_elf_file
isolate_snapshot_ = Snapshot(isolate_snapshot_data['blob'],isolate_snapshot_instructions['blob']).SnapshotSetupFromBuffer()
File "/Users/comomind/Downloads/h2/pixel4/unpackFlutter/unpackFlutter-1441d6b13b8623fa7fbf61433abebd31/main.py", line 2608, in SnapshotSetupFromBuffer
instructions_buffer=0).deserialize()
File "/Users/comomind/Downloads/h2/pixel4/unpackFlutter/unpackFlutter-1441d6b13b8623fa7fbf61433abebd31/main.py", line 1873, in deserialize
self.instruction_table_data.append(UntaggedInstructionsTable_DataEntry(ro_data[i]))
IndexError: list index out of range

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant