/art/tools/dexfuzz/src/dexfuzz/program/ |
CodeTranslator.java | 20 import dexfuzz.rawdex.CodeItem; 38 * Translates from a CodeItem (the raw list of Instructions) to MutatableCode 44 * Given a raw DEX file's CodeItem, produce a MutatableCode object, that CodeMutators 46 * @param codeItemIdx Used to make sure the correct CodeItem is updated later after mutation. 48 * obtained from the CodeItem. 50 public MutatableCode codeItemToMutatableCode(Program program, CodeItem codeItem, 52 Log.debug("Translating CodeItem " + codeItemIdx 53 + " (" + codeItem.meta.methodName + ") to MutatableCode"); 57 codeItem.registerMutatableCode(mutatableCode) [all...] |
Program.java | 43 import dexfuzz.rawdex.CodeItem; 70 * deciding which ones should be applied to each CodeItem. 213 for (CodeItem codeItem : rawDexFile.codeItems) { 214 if (legalToMutate(codeItem)) { 217 mutatableCodes.add(translator.codeItemToMutatableCode(this, codeItem, 253 * For each CodeItem, find the name of the method the item represents. 285 * Associate the name of the provided method with its CodeItem, if it 309 // Get the codeItem. 310 if (method.codeOff.getPointedToItem() instanceof CodeItem) { [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
DexBackedMethodImplementation.java | 36 import org.jf.dexlib2.dexbacked.raw.CodeItem; 68 int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET); 70 final int instructionsStartOffset = codeOffset + CodeItem.INSTRUCTION_START_OFFSET; 99 final int triesSize = dexFile.readUshort(codeOffset + CodeItem.TRIES_SIZE_OFFSET); 101 int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET); 103 codeOffset + CodeItem.INSTRUCTION_START_OFFSET + (instructionsSize*2), 4); 104 final int handlersStartOffset = triesStartOffset + triesSize*CodeItem.TryItem.ITEM_SIZE; 111 triesStartOffset + index*CodeItem.TryItem.ITEM_SIZE, 126 int debugOffset = dexFile.readInt(codeOffset + CodeItem.DEBUG_INFO_OFFSET);
|
DexBackedTryBlock.java | 35 import org.jf.dexlib2.dexbacked.raw.CodeItem; 55 return dexFile.readSmallUint(tryItemOffset + CodeItem.TryItem.START_ADDRESS_OFFSET); 59 return dexFile.readUshort(tryItemOffset + CodeItem.TryItem.CODE_UNIT_COUNT_OFFSET); 66 handlersStartOffset + dexFile.readUshort(tryItemOffset + CodeItem.TryItem.HANDLER_OFFSET));
|
/art/compiler/driver/ |
dex_compilation_unit.h | 40 const DexFile::CodeItem* code_item, 67 const DexFile::CodeItem* GetCodeItem() const { 122 const DexFile::CodeItem* const code_item_;
|
dex_compilation_unit.cc | 28 const DexFile::CodeItem* code_item,
|
/art/compiler/optimizing/ |
builder.h | 41 const DexFile::CodeItem& code_item, 70 const DexFile::CodeItem& code_item, 105 const DexFile::CodeItem& code_item_;
|
block_builder.h | 31 const DexFile::CodeItem& code_item) 75 const DexFile::CodeItem& code_item_;
|
optimizing_unit_test.h | 87 const DexFile::CodeItem* item = 88 reinterpret_cast<const DexFile::CodeItem*>(data);
|
/art/runtime/interpreter/ |
interpreter.h | 48 extern JValue EnterInterpreterFromEntryPoint(Thread* self, const DexFile::CodeItem* code_item, 52 void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item,
|
interpreter.cc | 248 JValue ExecuteGotoImpl(Thread*, const DexFile::CodeItem*, ShadowFrame&, JValue) { 254 JValue ExecuteGotoImpl<true, false>(Thread* self, const DexFile::CodeItem* code_item, 257 JValue ExecuteGotoImpl<false, false>(Thread* self, const DexFile::CodeItem* code_item, 260 JValue ExecuteGotoImpl<true, true>(Thread* self, const DexFile::CodeItem* code_item, 263 JValue ExecuteGotoImpl<false, true>(Thread* self, const DexFile::CodeItem* code_item, 269 const DexFile::CodeItem* code_item, 402 const DexFile::CodeItem* code_item = method->GetCodeItem(); 533 const DexFile::CodeItem* code_item = shadow_frame->GetMethod()->GetCodeItem(); 603 JValue EnterInterpreterFromEntryPoint(Thread* self, const DexFile::CodeItem* code_item, 619 void ArtInterpreterToInterpreterBridge(Thread* self, const DexFile::CodeItem* code_item [all...] |
unstarted_runtime.h | 51 const DexFile::CodeItem* code_item,
|
/art/runtime/verifier/ |
method_verifier-inl.h | 29 inline const DexFile::CodeItem* MethodVerifier::CodeItem() const {
|
/art/runtime/quick/ |
inline_method_analyser.h | 244 static bool AnalyseMethodCode(const DexFile::CodeItem* code_item, 250 static bool AnalyseReturnMethod(const DexFile::CodeItem* code_item, InlineMethod* result); 251 static bool AnalyseConstMethod(const DexFile::CodeItem* code_item, InlineMethod* result); 252 static bool AnalyseIGetMethod(const DexFile::CodeItem* code_item, 258 static bool AnalyseIPutMethod(const DexFile::CodeItem* code_item,
|
inline_method_analyser.cc | 46 static bool Match(const DexFile::CodeItem* code_item, MatchFn* const (&pattern)[size]); 65 explicit Matcher(const DexFile::CodeItem* code_item) 71 static bool DoMatch(const DexFile::CodeItem* code_item, MatchFn* const* pattern, size_t size); 73 const DexFile::CodeItem* const code_item_; 80 bool Matcher::Match(const DexFile::CodeItem* code_item, MatchFn* const (&pattern)[size]) { 130 bool Matcher::DoMatch(const DexFile::CodeItem* code_item, MatchFn* const* pattern, size_t size) { 162 size_t CountForwardedConstructorArguments(const DexFile::CodeItem* code_item, 252 bool DoAnalyseConstructor(const DexFile::CodeItem* code_item, 326 const DexFile::CodeItem* target_code_item = target_method->GetCodeItem(); 366 bool AnalyseConstructor(const DexFile::CodeItem* code_item [all...] |
/art/compiler/ |
compiler.h | 49 virtual CompiledMethod* Compile(const DexFile::CodeItem* code_item, 94 static bool IsPathologicalCase(const DexFile::CodeItem& code_item,
|
compiler.cc | 39 bool Compiler::IsPathologicalCase(const DexFile::CodeItem& code_item,
|
/art/compiler/debug/ |
method_debug_info.h | 32 const DexFile::CodeItem* code_item;
|
/art/compiler/dex/ |
dex_to_dex_compiler.h | 40 const DexFile::CodeItem* code_item,
|
verified_method.cc | 89 const DexFile::CodeItem* code_item = method_verifier->CodeItem(); 135 const DexFile::CodeItem* code_item = method_verifier->CodeItem(); 213 const DexFile::CodeItem* code_item = method_verifier->CodeItem();
|
/art/runtime/interpreter/mterp/ |
mterp_stub.cc | 41 extern "C" bool ExecuteMterpImpl(Thread* self, const DexFile::CodeItem* code_item,
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
RawDexFile.java | 44 public List<CodeItem> codeItems; 250 for (CodeItem codeItem : codeItems) { 251 codeItem.write(file); 376 for (CodeItem codeItem : codeItems) { 377 codeItem.incrementIndex(kind, insertedIdx);
|
MapList.java | 147 rawDexFile.codeItems = new ArrayList<CodeItem>(mapItem.size); 149 CodeItem newCodeItem = new CodeItem();
|
/art/test/435-try-finally-without-catch/ |
info.txt | 17 art::CodeItem::tries_size_) and the optimizing compiler would have no
|
/art/runtime/ |
oat_quick_method_header.cc | 75 // All stack maps are stored in the same CodeItem section, safepoint stack
|