Created
February 6, 2025 08:22
-
-
Save azhlm/0019bbea43857c9c399a79c09d6154a5 to your computer and use it in GitHub Desktop.
Binja - get API type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Get the type of any API from specific DLL to apply to 'Override Call Type' | |
def gt(dll,api): | |
lib = bv.platform.get_type_libraries_by_name(dll + '.dll')[0] | |
type = bv.import_library_object(api, lib) | |
return type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment