I used this for a similar reason but not sure if it addresses your needs.
Hopefully it's a good start.
https://clang.llvm.org/docs/DataFlowSanitizer.html
On Wed, Sep 11, 2019, 2:17 PM Priyanka Panigrahi via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hello all,
>
> Can anyone give me a proper documentation of taint analysis in llvm?
>
> How to get the taint flow for a given source code in llvm ?
>
> Any help would be appreciated.
>
> Thank you.
>
> Regards,
> Priyanka
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20190911/830c5a05/attachment.html>