Skip to content

Passing a path to Il2Cpp.dumpTree() crashes app #602

Closed as not planned
Closed as not planned
@itsneeku

Description

@itsneeku

Android app crashes as soon as Il2cpp.dumpTree() starts dumping the first assembly.

Script:

Il2Cpp.perform(() => {
  console.log('restarted');
  Il2Cpp.dumpTree('treedump', true);
});

Frida output:

     ____
    / _  |   Frida 16.6.6 - A world-class dynamic instrumentation toolkit
   | (_| |
    > _  |   Commands:
   /_/ |_|       help      -> Displays the help system
   . . . .       object?   -> Display information about 'object'
   . . . .       exit/quit -> Exit
   . . . .
   . . . .   More info at https://frida.re/docs/home/
   . . . .
   . . . .   Connected to Android Emulator 5554 (id=emulator-5554)
restarted
il2cpp: dumping Lettuce.BattleEngine.Serialization.Runtime...
Failed to load script: the connection is closed

Thank you for using Frida!
  • Using master branch at current latest commit 5c2f837df92b601e1cda700de49234ea48f022d7
  • Attaching frida by usb + identifier, using --runtime=v8 and --realm=emulated
  • Same thing happens if passing in current dir '.'
  • Works fine if left empty/undefined Il2Cpp.dumpTree(undefined, true);

Related to #580

PS: dumpTree() is a godsent as not a single editor of mine can handle a 30MB dump.cs. Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions