[llvm-dev] [dfsan] union extension for userdata (original) (raw)
Eissfeldt, Heiko via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 26 06:54:56 PDT 2018
- Previous message: [llvm-dev] byval argument causes llvm to crash after inlining
- Next message: [llvm-dev] [RFC] Proposal: llvm-tapi, adding YAML/stub generation for ELF linking support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello list,
when using dfsan, i thought i could use the 'userdata' field in dfsan_label_info to maintain input file offsets influencing the labeled variable.
I would label variables as tainted that get input from a file along with the file offsets at that time (using 'userdata').
For dependent variables I would like to use the propagation mechanism of dfsan in order to see the accumulated input offsets later.
So, when dfsan_union is called, I would like to have a wrapper or callback function in effect in order to also generate the union of the input file offsets from userdata of both input labels.
So, do you think the dfsan framework can be used to achieve this?
I am interested in a minimal invasive way to extend the dfsan_union function.
Thanks for any advice and best regards, Heiko Eißfeldt -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180926/b8db63c7/attachment.html>
- Previous message: [llvm-dev] byval argument causes llvm to crash after inlining
- Next message: [llvm-dev] [RFC] Proposal: llvm-tapi, adding YAML/stub generation for ELF linking support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]