Closed serrapa closed 2 years ago
{
"model_generators": [
{
"find": "methods",
"where": [
{
"constraint": "name",
"pattern": "getStringExtra"
}
],
"model": {
"sources": [
{
"kind": "TestSensitiveUserInput",
"port": "Return"
}
]
}
}]
}
replace "port": "Argument(1)"
with "port":"Return"
,
is this ok?
Hello @nkbai, it worked! Thanks you so much! Now I think I understood what was wrong, I needed to refer the argument returned, not that one passed.
Hello everyone, I need some help because I cannot detect a simple data flow (doing it just as an exercise to learn Mariana-trench).
I have this piece of source code:
What i am trying to do is creating a source as the first parameter of the getStringExtra method and a sink as the loadDataWithBaseURL method. So, I created two file, the following for the source and the other one for the sink:
IntentSourceGenerator.json:
TestWebViewLoadGenerator.json :
Here the rule added to the rules.json file:
I don't know what I am doing wrong, but I got the following results. Can someone explain me what I should do?