draperlaboratory / cbat_tools

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

Fortunac/valid mem derefs #260

Closed fortunac closed 3 years ago

fortunac commented 4 years ago

This PR adds the --check-invalid-derefs flag, which adds an assumption to each memory read/write in the original binary that the address is in a valid location (i.e. above RSP or below the bottom of the stack), and asserts this property at every read/write in the modified binary.