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

Support function pointers as a supported variable type #142

Open
mahaloz opened this issue Jan 20, 2025 · 0 comments
Open

Support function pointers as a supported variable type #142

mahaloz opened this issue Jan 20, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@mahaloz
Copy link
Member

mahaloz commented Jan 20, 2025

In the fdupes binary in the test cases, one function, 11475, has _func_int_file_t_ptr_file_t_ptr* as a variable type. When using the get_dependencies API in the deci, it is not included.

To support this type, we need to add the following:

  • When looking up user-defined types, include all the functions with names as possible types
  • The type should be of type FunctionHeader
  • Figure out how to abstract it to multiple decompilers later. Maybe make a place holder when lifting in libbs to say something like func_ptr_0xdead, then when it get's lowered convert that into whatever the local name in the decompiler is.
@mahaloz mahaloz added the enhancement New feature or request label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant