Displaying 2 results from an estimated 2 matches for "__is_a".
2017 Apr 26
2
Contributing a new sanitizer for pointer casts
...wall.)
> Third, how do you plan on keeping the libcrunch integration into
> clang in-sync with the runtime, if the runtime is to live outside of
> the llvm tree?
I think that part is no problem. The interface between instrumented
code and the runtime is pretty narrow (basically just the __is_a(),
__like_a() and similar functions) and does not embed any LLVM stuff, so
it would be stable under LLVM churn. The same would hold for the gold
plugin... LLVM/clang's involvement is mostly just to do the
instrumentation, which is a pretty well-isolated task. The allocation
site metadata I just...
2017 Apr 25
2
Contributing a new sanitizer for pointer casts
Hi all,
Some of you might remember that at EuroLLVM last year in Barcelona,
Chris Diamand and I gave a talk about Clang/libcrunch, a run-time
checking system which can be thought of as another flavour of sanitizer.
It checks pointer casts, using run-time type information. Roughly the
check is that the pointer really points to an instance of the target
type, though there are refinements to