Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Boomerang bodies to Jimple bodies #64

Closed
ufarooq opened this issue Apr 15, 2019 · 2 comments
Closed

Boomerang bodies to Jimple bodies #64

ufarooq opened this issue Apr 15, 2019 · 2 comments

Comments

@ufarooq
Copy link

ufarooq commented Apr 15, 2019

Hi,

I am trying to use this tool as a pointer analysis for an IFDS analysis. My IFDS analysis is using Jimple bodies, but Boomerang transforms bodies during Pre-transformer. What is recommended way to translate between Jimple/Boomerang? Or Do I need to run my IFDS analysis on Boomerang if I want to use WPDS?

Thanks,
Umar

@johspaeth
Copy link
Member

Hi Umar,
you need to apply the BoomerangPretransformer before the analysis, and run your analysis on the new Jimple Bodies. For instance, the transformer is used here.

The transformer just replaces statements such as call(123) into two statements int x = 123; call(x). This makes the analysis' flow functions easier to write.

@ufarooq
Copy link
Author

ufarooq commented Apr 16, 2019

Thanks for clearing up @johspaeth

@ufarooq ufarooq closed this as completed Apr 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants