Skip to content

Conversation

@ftc
Copy link
Member

@ftc ftc commented Mar 20, 2024

Here is how to fix the constructor matcher for the network failure benchmark. You may want to manually copy the changes over rather than merge this due to the messiness of Jupyter notebooks. A few notes:

  • you always have to have some parameters in an abstract message. e.g. val construct_req = AbsMsg(CIExit, SubClassMatcher(Set("com.android.volley.toolbox.StringRequest"), ".*<init>.*", "consRequest"),TopVal::Nil) instead of just Nil as the last argument. I will make a separate pull request to throw an appropriate error.

  • The line numbers in this method are all wrong when Soot loads it so the Reachable query isn't behaving right. I swapped it to a DisallowedCallin to work around this limitation.

  • You had a typo. "com.android.volley.StringRequest" should be "com.android.volley.toolbox.StringRequest"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants