Manuel Fahndrich
Manuel Fahndrich
There are also a set of implementations/interfaces of basic abstract domains that we use in the taint analysis here: https://github.com/facebook/pyre-check/blob/5ffdae13f78ca731336ddc25f46a4ddfc2866e54/analysis/abstractDomain.ml#L19-L38 and the files abstractXXXDomain.ml
Also, you can look at the code in [taint/domains.ml](https://github.com/facebook/pyre-check/blob/master/taint/domains.ml) where the general AI functors are instantiated. Basically, taint is represented as a set of source/sink kinds and the heap is...
Features are little bits of information we attach to flows that can be used to filter the resulting issues. E.g., you could write a taint-in-taint-out model for a particular function...
I just pushed a fix for this yesterday in https://github.com/facebook/pyre-check/commit/6ae378f3a7a2547be609bbf923d1064a350e19e7 and https://github.com/facebook/pyre-check/commit/36d307b95fd425f35f395e64e685506d2cf217d3
Ah sorry, forgot to mention that you need a model for `list.append`. I didn't add anything by default. So somewhere in a .pysa file, add ``` # List propagation def...
@dkgi might know more about the $toplevel missing warning.
Typically not. If the analysis does not have a model or the source for string.join, it should just propagate taint through. Not sure what is going on here. @dkgi has...
Okay, we have a fix. Should be released shortly.
The "".join(tainted_list) should be fixed by https://github.com/facebook/pyre-check/commit/5d09325726c4cdc22b9d1554bf94fbae833b7366
Sounds like a bug in that is should be supported. Could you send a full repro?