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

Start function type work #41

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

Start function type work #41

wants to merge 6 commits into from

Conversation

stevemk14ebr
Copy link
Collaborator

@stevemk14ebr stevemk14ebr commented Oct 13, 2023

  • Parse go source code to generate accurate metadata for runtime function [DONE]
  • Fixup rename script to import this data [PARTIAL] (Multiple runtime versions TODO)
  • Triage/Improve? IDAs argument and parameter value tracking [DONE]

@stevemk14ebr
Copy link
Collaborator Author

stevemk14ebr commented Oct 20, 2023

Importing the structures is a challenge. Both techniques of sourcing symbols, moduledata types and source code are lossy, missing some different subsets. Need to implement recursive field checks to import types from source in the correct order. Additionally need to add a technique that replaces unknown pointer types (and family) with void* when underlying type is still missing from any source

@stevemk14ebr
Copy link
Collaborator Author

I'm reconsidering this approach entirely. This is quite hard to import types reliably across versions. It's probably better to create an interactive fuzzy search IDA plugin that uses the data from https://gist.github.com/stevemk14ebr/bc81085dfebfd4f6ea39e1dec4370663 instead

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.

1 participant