search for: overflow_instrumented

Displaying 2 results from an estimated 2 matches for "overflow_instrumented".

2016 May 20
2
BoundsChecking Pass
...BoundsChecking one) to get the .so generated file once llvm rebuild. I then ran the LLVM opt with loading the .so for a C program that did both a stack and heap overflow: - clang -emit-llvm overflow.c -c -o overflow.bc - opt -load path-to-so/LLVMBoundsChecking.so -options < overflow.bc > overflow_instrumented.bc I then ran llc and gcc to get an executable: - llc -filetype=obj overflow_instrumented.bc (generates a .o file with same name) - gcc overflow_instrumented.o -o overflow_instrumented Once launched, the executable detects the stack access and crash the program (you can see the checks on the...
2016 May 22
0
BoundsChecking Pass
...ndsChecking one) to get the .so generated file once llvm rebuild. I then ran the LLVM opt with loading the .so for a C program that did both a stack and heap overflow: - clang -emit-llvm overflow.c -c -o overflow.bc - opt -load path-to-so/LLVMBoundsChecking.so -options < overflow.bc > overflow_instrumented.bc I then ran llc and gcc to get an executable: - llc -filetype=obj overflow_instrumented.bc (generates a .o file with same name) - gcc overflow_instrumented.o -o overflow_instrumented Once launched, the executable detects the stack access and crash the program (you can see the checks on th...