cuplv / TraceRunner

Tool for generating dynamic traces of android applications.
3 stars 0 forks source link

Automatic registration of callbacks #5

Open smover opened 7 years ago

smover commented 7 years ago

The goal is to register all the possible callbacks for all the objects.

There are two main mechanism to register callbacks.

  1. One is to extend the methods when the app code extends a framework class (e.g. the onCreate method for an activity object)
  2. The other is to register the callback through a specific method on a framework object.
smover commented 7 years ago

@ftc just added the issue. I think we should document here how we want to implement the registration

ftc commented 7 years ago

Current plan: write code to find the callbacks which are implemented in MUSE corpus apps using either Graph Extractor or Feature Extractor. These can be detected by finding methods implemented in the app which are inherited from framework objects or from interfaces.

finding registration methods: