Skip to content

Added support for relative paths for dumpTree #603

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rubenvereecken
Copy link
Contributor

Figured might as well.

Should close #602.

* ```ts
* Il2Cpp.perform(() => {
* Il2Cpp.dumpTree();
* });
* ```
*/
export function dumpTree(path?: string, ignoreAlreadyExistingDirectory: boolean = false): void {
if (path && !path?.startsWith("/")) path = `${Il2Cpp.application.dataPath!}/${path}`;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm afraid this is this not cross platform...

@vfsfitvnm
Copy link
Owner

Hi, #605 has been implemented, please read: https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/d624db6f016a0a3f6ff9de7a7113ba743a34727e/README.md#dumping.

I believe the new way of dumping is much better as have the most flexibility possible and opens up new features :)

@vfsfitvnm vfsfitvnm force-pushed the master branch 2 times, most recently from 00e222b to 06c6284 Compare May 1, 2025 20:59
@namtacs
Copy link

namtacs commented May 2, 2025

I think the dumping function should be left for use in a custom agent for when additional things are needed for compatibility with an app.

@vfsfitvnm
Copy link
Owner

@namtacs would you elaborate? What do you mean with "additional things are needed for compatibility with an app"?

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

Successfully merging this pull request may close these issues.

Passing a path to Il2Cpp.dumpTree() crashes app
3 participants