phasar icon indicating copy to clipboard operation
phasar copied to clipboard

how can i get a taint path in ifds-taint/ide-xtaint analysis?

Open JJ2nu opened this issue 3 years ago • 2 comments

i was trying to get a taint paths from phasar but im having hard time getting those results.

which options do i have to use to get those path information?

JJ2nu avatar Jul 05 '22 06:07 JJ2nu

Hi @JJ2nu, there is currently no way of getting path information from PhASAR's analyses. However, we are working on a path sensitive analysis. We will eventually integrate it into open-source PhASAR. As of now, you still can retrieve tainted values for any instruction by invoking the resultsAt function on the respective IDESolver object. Does this answer your question?

fabianbs96 avatar Jul 10 '22 14:07 fabianbs96

Then could you give me a detailed explanation of how to use resultsAt function?

JJ2nu avatar Jul 11 '22 05:07 JJ2nu

The function returns the set of dataflow facts that hold at the statement that was asked for. In case of a taint analysis it returns all variables that are tainted at that statement.

MMory avatar Dec 01 '22 13:12 MMory