Commit c3db20b7 authored by Jean Christophe Beyler's avatar Jean Christophe Beyler
Browse files

ART: API to dex instructions



- Added the GetConstant function call in DecodedInstruction.
- Added a few rewriter helper functions for later higher level rewriting.
- Added Setter/Getter data and query functions.
- Added Clobber memory/Const/Call/Cast data and query functions.
- Added expression information (add, multiply, ...).
- Added a IsLinear function for additions and subtractions.

- Added an empty constructor for the DecodedInstruction:
  - Useful for the creation of a MIR constructor too.
  - Added the IsConditionalBranch utility function.

Signed-off-by: default avatarJean Christophe Beyler <jean.christophe.beyler@intel.com>
Signed-off-by: default avatarRazvan A Lupusoru <razvan.a.lupusoru@intel.com>
Signed-off-by: default avatarYixin Shou <yixin.shou@intel.com>
Signed-off-by: default avatarChao-ying Fu <chao-ying.fu@intel.com>
Signed-off-by: default avatarUdayan Banerji <udayan.banerji@intel.com>
Change-Id: Ie21f2a7779b38c1b383334f04126c2d792cae462
parent b8033db2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment