trailofbits / binary_type_inference

GNU General Public License v3.0
11 stars 0 forks source link

Refactor Datalog to Allow for Unions. #20

Closed 2over12 closed 2 years ago

2over12 commented 2 years ago

Currently the datalog selects a singular type for a node by ruling out other types. ie. The pointer constraints consist of a store and load suggesting it is a pointer then making sure there arent field rules, in rules, out rules, or add rules. Instead, we should collect every possible type for a node. If there is a single type we get a single type, otherwise we introduce a union.