Skip to content

Conversation

@VelocityRa
Copy link
Contributor

No description provided.

@VelocityRa VelocityRa changed the title Consider ptrs/refs | Don't decomp empty funcs | Handle empty func lines | Accept more src extensions Consider ptrs/refs when mapping | Don't decomp empty funcs | Handle empty func lines | Accept more src extensions Aug 5, 2025
@chaoticgd
Copy link
Owner

The ast::for_each_node function should traverse the value types of pointers/references anyway, although the physical_type call is interesting. It would make references to a typedef count as references to the underlying type. Do you have any examples where this leads to better output?

Helps with eg. when func args are typedef'ed structs.
Happens if there's a decompilation error, and then it breaks parsing (there are gigantic files emitted as the size is wrong)
@VelocityRa
Copy link
Contributor Author

Pushed a more generic way to handle it.

@chaoticgd
Copy link
Owner

Looks good now.

@chaoticgd chaoticgd merged commit 06fc2f6 into chaoticgd:main Aug 5, 2025
5 checks passed
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.

2 participants