search for: llvmboundscheck

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

2016 May 20
2
BoundsChecking Pass
...ified a bit the registration process of the Pass (the 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 a...
2016 May 22
0
BoundsChecking Pass
...ed a bit the registration process of the Pass (the 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...