-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 3 #8
Comments
oh, there's a new kind of snapshot? sorry, I've been disconnected from dart development for a while |
yes, it seems they added a new I should fix that but I have no time to get this project up to date, sorry. Lines 41 to 48 in 3d33042
to kKind = [
('kFull', "Full snapshot of an application"),
('kFullCore', "Full snapshot of core libraries. Agnostic to null safety."),
('kFullJIT', "Full + JIT code"),
('kFullAOT', "Full + AOT code"),
('kMessage', "A partial snapshot used only for isolate messaging"),
('kNone', "gen_snapshot"),
('kInvalid', None),
] |
Hello,
I am trying to use Darter on a libapp.so extracted (unzipped) from a .APK generated by flutter from a Flutter app,
Encountered the following problem
Traceback (most recent call last):
File "/Users/realcradle/dev/python/disassembly/main.py", line 110, in
getFiles('samples/libapp.so', '')
File "/Users/realcradle/dev/python/disassembly/main.py", line 91, in getFiles
s = parse_elf_snapshot(elfFile)
File "/Users/realcradle/dev/python/disassembly/darter/file.py", line 42, in parse_elf_snapshot
base = Snapshot(data=blobs[0], data_offset=offsets[0],
File "/Users/realcradle/dev/python/disassembly/darter/core.py", line 232, in parse
self.initialize_clusters()
File "/Users/realcradle/dev/python/disassembly/darter/core.py", line 374, in initialize_clusters
key = map1[self.kind]
KeyError: 3
The text was updated successfully, but these errors were encountered: