Skip to content

Conversation

@mahaloz
Copy link
Member

@mahaloz mahaloz commented Apr 20, 2025

Closes #97 #147

Overview

This PR introduces the feature of supporting Scopes in artifacts, mostly checked through Ghidra. Issues #97 and #147 best describe why this is needed, but the difficulty comes from other decompilers NOT supporting scopes for types, unlike Ghidra.

To fix these issues took some hard engineering to support scopes as an optional feature across all of libbs. That means if a normal decompiler gets the scoped type, it should still work. And if Ghidra<-> Ghidra has it, it should be high fidelity.

For more info, see the diff.

Tasks

  • typdefs work for setting and getting, but the listed names are still wrong
  • structs and enums are still broken
  • get_deps is untested still

@mahaloz mahaloz linked an issue Apr 20, 2025 that may be closed by this pull request
@mahaloz mahaloz marked this pull request as ready for review April 20, 2025 06:55
@mahaloz mahaloz merged commit 499a944 into main Apr 20, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Ghidra dependency resolve can report incorrect recursive type deps Support scope names in Structs and Enums

2 participants