ev-flow / ev-flow/quark-engine

Show only matches reachable from main application code

Open
#427 3 comments 0 reactions 1 assignee Claimed by @sidra-asa View on GitHub
enhancement issue-processing-state-04
Dominant language
Python
Stars
1.7k
Forks
218
Avg merge
4d 12h
Merged PRs (30d)
7

Description

**Is your feature request related to a problem? Please describe.**
When analysing big applications (with lots of SDKs and libraries) you end-up with hundreds of matches from code that is never actually used on the main application.

**Describe the solution you'd like**
Let's say the application has a package `com.myapp`. I want to be able to tell quark-engine to only show me matches that can be xreffed back to the application main package.

For example:
![2022-11-21-163958](https://user-images.githubusercontent.com/1062939/203096339-e75ef4fd-b075-4bf7-9a63-de616be0f66f.png)

The function `g` in `com.google.android` package matching the rule should be recursively xreffed to see if there is a valid code path coming from code in `com.myapp`.

I know this can be very hard since decompilation isn't perfect but could reduce the noise quite a bit.

**Describe alternatives you've considered**
Another simpler alternative would be to allow the user to specify the exclusions (e.g. which packages shouldn't trigger a match). Well this could be already achieved by filtering the packages from the report.

**Additional context**
Not sure if I explained it well enough

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.