arguslab / Argus-SAF

Argus static analysis framework
Apache License 2.0
181 stars 49 forks source link

Custom Source #84

Open cjc-github opened 2 years ago

cjc-github commented 2 years ago

I plan to bring the normal function to be the Source。but when I write it into TaintSourcesAndSinks.txt as Source, it does not work! howerver,it is working that write it as Sink.I want to know how do use it correctly.

for example,void foo(int x,int y); I want to this as Source to taint the x,

FoelliX commented 2 years ago

x = foo(...) should do the trick if foo is declared as source.