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

[tooling] EE Memory analysis tool feature requests #534

Closed
xTVaser opened this issue May 28, 2021 · 5 comments · Fixed by #797
Closed

[tooling] EE Memory analysis tool feature requests #534

xTVaser opened this issue May 28, 2021 · 5 comments · Fixed by #797

Comments

@xTVaser
Copy link
Member

xTVaser commented May 28, 2021

  1. It would be nice if the tool instead of always generating a single output for each EE dump, could be given a previous input file to append to. I imagine situations where you'd want to take multiple save-states over the course of a session and amalgamate the type info all into one place. Right now that is a little cumbersome.
  2. Supporting arrays would be very helpful
  3. Resolving nested types would be a nice to have.
@water111
Copy link
Collaborator

  1. Maybe the way to go here is to output to JSON, and then have a mode to convert one or more JSON outputs into a single easy-to-read output, merging them as needed.
  2. This should be easy for arrays of basics. Inline arrays would be harder but it might be possible to identify the first element.
  3. Agreed. This could let us find structures that can't be found by the basic scan, which might give us a lot more information. The challenge here is to not get confused by following garbage pointers when we've misidentified basics, and not to get stuck in loops when we have circular references.

@water111
Copy link
Collaborator

Also, do you have an example for 2?

@water111
Copy link
Collaborator

sel-menu in debug-menu-context is an array of basics.

@water111
Copy link
Collaborator

water111 commented Jun 7, 2021

#562 will add support for arrays of basics, like (array-of-basics basic 10).

@water111
Copy link
Collaborator

  1. Was added by Vaser a long time ago, seems to be working great
  2. Arrays are supported now
  3. [memory tool] Try to follow pointers to structures #797 is the best thing I could come up with that works in general. If there are more specific cases, we can always write more specific tools.

@water111 water111 linked a pull request Aug 31, 2021 that will close this issue
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 a pull request may close this issue.

2 participants