Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
908 stars 207 forks source link

Unresolved Jump Table for Indirect Dispatch Through Array of User Defined Struct #3322

Closed bpotchik closed 2 years ago

bpotchik commented 2 years ago

Binary Ninja is unable to solve indirect dispatch for any array of non-primitive types (e.g. array of structs) that are user defined.

For example, BinaryNinja can resolve these constructs automatically, and create an auto 'jump_table' variable which is a simple array of the load size, and a larger stride. However, if a user tries change the type of the 'jump_table' to a struct, the dispatch site no longer resolves the indirect branches.

bpotchik commented 2 years ago

Fixed in 3.1.3574-dev.