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

Add initialization code to webcl kernel entry points #2

Closed elhigu closed 11 years ago

elhigu commented 11 years ago

Initialize dynamic limits from kernel arguments and static limits from allocated struct start and end addresses. Toplevel function where this is done is createKernelEntryPoints(...).

elhigu commented 11 years ago

Will close after having verified that initialization code seems reasonable.

elhigu commented 11 years ago

Hand check did seem fine. Also optimisation reduces the code to reasonable state so it is most probably fine. Tests will give further info.