Skip to content
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

Add hprof file generator for WebAssembly heap #806

Open
konsoletyper opened this issue Oct 8, 2023 · 0 comments
Open

Add hprof file generator for WebAssembly heap #806

konsoletyper opened this issue Oct 8, 2023 · 0 comments

Comments

@konsoletyper
Copy link
Owner

Note that this generator would require additional external file that describes heap layout. Rationale: having this encoded in wasm file will increase its side and add security risks. Thus, only some intermediate heap dump can be generated by JS runtime. All user data, like contents of non-object arrays and non-object fields, should be removed, for security. Then, additional tool should be used, that takes this intermediate dump and heap layout descriptor and produces hprof file. This is how things work for C backend.

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

No branches or pull requests

1 participant