draperlaboratory / cbat_tools

Program analysis tools developed at Draper on the CBAT project.
MIT License
102 stars 14 forks source link

Incorrect detection of intrinsic functions when there is no BIL lifter available #366

Closed bmourad01 closed 2 years ago

bmourad01 commented 2 years ago

On VIBES we're working mainly with Thumb binaries, and in BAP a substantial portion of the semantics for Thumb instructions are not being provided by any of the available BIL lifters. However, the current way that calls to intrinsic functions is being detected relies on there being a BIL lifter available.

As a consequence, we're unable to provide any meaningful info (such as user function specs) about function calls in these binaries. We should change how such intrinsic calls are detected.

bmourad01 commented 2 years ago

Fixed in #367