toaarnio / llvm-ir-memprotect

LLVM IR instrumentation for protection against out-of-bounds memory accesses
Mozilla Public License 2.0
9 stars 2 forks source link

when generating smart pointer versions of function signatures also argument attributes needs to be moved or ProgramAllocations arg should be the last one. #21

Closed elhigu closed 11 years ago

elhigu commented 11 years ago

Currently some tests are failing because of signext / zeroext is moved to wrong place in safe pointer function signature. The same attribute is also lost from call instructions.

elhigu commented 11 years ago

Fixed moving attributes forward and cleaning all attributes from the ifrst argument.