aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api
diff options
context:
space:
mode:
authorBalazs Benics <balazs.benics@sigmatechnology.se>2022-02-14 16:55:55 +0100
committerBalazs Benics <balazs.benics@sigmatechnology.se>2022-02-14 16:55:55 +0100
commitbf5963bf19670ea58facdf57492e147c13bb650f (patch)
treed73c058ca12d10aa1ca6378ce6dbad9b2b69c16b /lldb/test/API/python_api
parentb099e1e562555fbc67e2e0abbc15074e14a85ff1 (diff)
downloadllvm-bf5963bf19670ea58facdf57492e147c13bb650f.zip
llvm-bf5963bf19670ea58facdf57492e147c13bb650f.tar.gz
llvm-bf5963bf19670ea58facdf57492e147c13bb650f.tar.bz2
[analyzer] Fix taint rule of fgets and setproctitle_init
There was a typo in the rule. `{{0}, ReturnValueIndex}` meant that the discrete index is `0` and the variadic index is `-1`. What we wanted instead is that both `0` and `-1` are in the discrete index list. Instead of this, we wanted to express that both `0` and the `ReturnValueIndex` is in the discrete arg list. The manual inspection revealed that `setproctitle_init` also suffered a probably incomplete propagation rule. Reviewed By: Szelethus, gamesh411 Differential Revision: https://reviews.llvm.org/D119129
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions