Searched refs:dex (Results 126 - 150 of 220) sorted by relevance

123456789

/art/runtime/verifier/
H A Dmethod_verifier.cc36 #include "dex/descriptors_names.h"
37 #include "dex/dex_file-inl.h"
38 #include "dex/dex_file_exception_helpers.h"
39 #include "dex/dex_instruction-inl.h"
40 #include "dex/dex_instruction_utils.h"
168 failure_message = " that isn't present in dex file " + dex_file.GetLocation();
231 // smali can create dex files with two encoded_methods sharing the same method_idx
349 tmp = tmp + "\nCommon causes for lock verification issues are non-optimized dex code\n"
436 // There's a strong assumption that the entire boot image is verified and all its dex
567 work_insn_idx_(dex
[all...]
/art/compiler/optimizing/
H A Dcode_generator_arm64.h23 #include "dex/dex_file_types.h"
24 #include "dex/string_reference.h"
25 #include "dex/type_reference.h"
583 dex::TypeIndex type_index,
591 dex::TypeIndex type_index,
599 dex::StringIndex string_index,
607 dex::StringIndex string_index,
616 dex::StringIndex string_index,
619 dex::TypeIndex string_index,
H A Dcode_generator_arm_vixl.h23 #include "dex/string_reference.h"
24 #include "dex/type_reference.h"
568 // Target dex file or null for .data.bmig.rel.ro patches.
579 PcRelativePatchInfo* NewBootImageTypePatch(const DexFile& dex_file, dex::TypeIndex type_index);
580 PcRelativePatchInfo* NewTypeBssEntryPatch(const DexFile& dex_file, dex::TypeIndex type_index);
582 dex::StringIndex string_index);
584 dex::StringIndex string_index);
592 dex::StringIndex string_index,
595 dex::TypeIndex type_index,
H A Dinstruction_builder.cc25 #include "dex/bytecode_utils.h"
26 #include "dex/dex_instruction-inl.h"
321 // at start of java statement) rather than before every dex instruction.
601 // Store the parameter value in the local that the dex code will use
860 // make this an invoke-unresolved to handle cross-dex invokes or abstract super methods, both of
895 // TODO: The actual method could still be referenced in the current dex file, so we
1082 HNewInstance* HInstructionBuilder::BuildNewInstance(dex::TypeIndex type_index, uint32_t dex_pc) {
1236 // dex registers given. If the instruction was seen as dead by the verifier,
1250 << " because of non-sequential dex register pair in wide argument";
1483 bool HInstructionBuilder::IsOutermostCompilingClass(dex
[all...]
H A Dnodes_vector_test.cc44 dex::TypeIndex(1),
49 dex::TypeIndex(2),
54 dex::TypeIndex(0),
H A Dinliner.h20 #include "dex/dex_file_types.h"
21 #include "dex/invoke_type.h"
231 dex::TypeIndex class_index,
H A Dlicm_test.cc77 dex::TypeIndex(0),
H A Doptimizing_unit_test.h26 #include "dex/code_item_accessors-inl.h"
27 #include "dex/dex_file.h"
28 #include "dex/dex_instruction.h"
29 #include "dex/standard_dex_file.h"
124 // Reserve a big array of 0s so the dex file constructor can offsets from the header.
128 // Create the dex file based on the fake data. Call the constructor so that we can use virtual
129 // functions. Don't use the arena for the StandardDexFile otherwise the dex location leaks.
170 /* method_idx */ dex::kDexNoIndex,
H A Dprepare_for_register_allocation.cc19 #include "dex/dex_file_types.h"
64 /* dex_pc */ dex::kDexNoIndex,
232 // Determine if input and user come from the same dex instruction, so that we can move
237 // Start with a quick dex pc check.
/art/runtime/
H A Dclass_loader_context_test.cc26 #include "dex/dex_file.h"
205 ClassLoaderContext::Create("PCL[a.dex]");
207 VerifyClassLoaderPCL(context.get(), 0, "a.dex");
212 ClassLoaderContext::Create("DLC[a.dex]");
214 VerifyClassLoaderDLC(context.get(), 0, "a.dex");
219 ClassLoaderContext::Create("PCL[a.dex:b.dex];DLC[c.dex:d.dex];PCL[e.dex]");
[all...]
H A Dclass_linker.h30 #include "dex/dex_cache_resolved_classes.h"
31 #include "dex/dex_file.h"
32 #include "dex/dex_file_types.h"
160 // Initialize class linker by bootstraping from dex files.
171 // Add an image space to the class linker, may fix up classloader fields and dex cache fields.
172 // The dex files that were newly opened for the space are placed in the out argument
250 ObjPtr<mirror::String> ResolveString(dex::StringIndex string_idx,
256 ObjPtr<mirror::String> LookupString(dex::StringIndex string_idx,
263 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ObjPtr<mirror::Class> referrer)
270 ObjPtr<mirror::Class> ResolveType(dex
[all...]
H A Dart_method.h31 #include "dex/code_item_accessors.h"
32 #include "dex/dex_file.h"
33 #include "dex/dex_instruction_iterator.h"
34 #include "dex/modifiers.h"
35 #include "dex/primitive.h"
398 // Lookup the Class* from the type index into this method's dex cache.
399 ObjPtr<mirror::Class> LookupResolvedClassFromTypeIndex(dex::TypeIndex type_idx)
401 // Resolve the Class* from the type index into this method's dex cache.
402 ObjPtr<mirror::Class> ResolveClassFromTypeIndex(dex::TypeIndex type_idx)
413 // return dex
[all...]
H A Dclass_linker_test.cc29 #include "dex/dex_file_types.h"
30 #include "dex/standard_dex_file.h"
423 void AssertDexFile(const DexFile& dex, mirror::ClassLoader* class_loader)
426 for (size_t i = 0; i < dex.NumClassDefs(); i++) {
427 const DexFile::ClassDef& class_def = dex.GetClassDef(i);
428 const char* descriptor = dex.GetClassDescriptor(class_def);
432 for (size_t i = 0; i < dex.NumTypeIds(); i++) {
433 const DexFile::TypeId& type_id = dex.GetTypeId(dex::TypeIndex(i));
434 const char* descriptor = dex
[all...]
H A Dquick_exception_handler.cc23 #include "dex/dex_file_types.h"
24 #include "dex/dex_instruction.h"
103 uint32_t dex_pc = dex::kDexNoIndex;
107 if (dex_pc != dex::kDexNoIndex) {
113 if (found_dex_pc != dex::kDexNoIndex) {
H A Dinstrumentation.cc28 #include "dex/dex_file-inl.h"
29 #include "dex/dex_file_types.h"
30 #include "dex/dex_instruction-inl.h"
253 uint32_t dex_pc = dex::kDexNoIndex;
280 uint32_t dex_pc = dex::kDexNoIndex;
289 << " dex pc: " << dex_pc;
314 uint32_t dex_pc = dex::kDexNoIndex;
1244 // Certain methods have strict requirement on whether the dex instruction
1340 // value either since the dex instruction will be re-executed by the
1366 // TODO: improve the dex p
[all...]
/art/libdexfile/dex/
H A Ddex_file_verifier_test.cc102 // read dex
121 // smali assemble -o classes.dex class1.smali [class2.smali ...]
122 // base64 classes.dex >classes.dex.base64
154 method_id->class_idx_ = dex::TypeIndex(0xFF);
174 method_id->name_idx_ = dex::StringIndex(0xFF);
245 dex::StringIndex name_index = dex_file->GetMethodId(method_index).name_idx_;
634 // Set of dex files for interface method tests. As it's not as easy to mutate method names, it's
701 nullptr); // Should be allowed in older dex versions for backwards compatibility.
751 nullptr); // Should be allowed in older dex version
[all...]
H A Ddex_file_tracking_registrar.cc24 // For dex tracking through poisoning. Note: Requires forcing sanitization. This is the reason for
37 namespace dex { namespace in namespace:art
40 // If true, poison dex files to track accesses.
271 } // namespace dex
/art/test/ti-stress/
H A Dstress.cc66 dex::Reader reader(in_data, in_len);
67 dex::u4 class_idx = reader.FindClassIndex(descriptor.c_str());
68 if (class_idx != dex::kNoIndex) {
86 dex::Writer writer(dex_ir);
88 struct Allocator : public dex::Writer::Allocator {
/art/tools/veridex/
H A Dflow_analysis.cc19 #include "dex/bytecode_utils.h"
20 #include "dex/code_item_accessors-inl.h"
21 #include "dex/dex_instruction-inl.h"
22 #include "dex/dex_file-inl.h"
23 #include "dex/dex_file_exception_helpers.h"
59 // TODO: We need to mark the range of dex pcs as flowing in the handlers.
497 VeriClass* cls = resolver_->GetVeriClass(dex::TypeIndex(instruction.VRegB_21c()));
503 dex::TypeIndex type_index(instruction.VRegC_22c());
510 dex::TypeIndex type_index(instruction.VRegB_35c());
517 dex
[all...]
/art/runtime/interpreter/mterp/
H A Dmterp.cc368 ObjPtr<mirror::String> s = ResolveString(self, *shadow_frame, dex::StringIndex(index));
381 ObjPtr<mirror::Class> c = ResolveVerifyAndClinit(dex::TypeIndex(index),
424 ObjPtr<mirror::Class> c = ResolveVerifyAndClinit(dex::TypeIndex(index),
446 ObjPtr<mirror::Class> c = ResolveVerifyAndClinit(dex::TypeIndex(index),
468 ObjPtr<mirror::Class> c = ResolveVerifyAndClinit(dex::TypeIndex(inst->VRegB_21c()),
561 dex::TypeIndex(inst->VRegC_22c()), length, shadow_frame->GetMethod(), self,
592 // Save invalid dex pc to force segfault if improperly used.
/art/dex2oat/linker/
H A Doat_writer.h31 #include "dex/compact_dex_level.h"
32 #include "dex/method_reference.h"
33 #include "dex/string_reference.h"
34 #include "dex/type_reference.h"
83 // MethodBssMapping one variable sized MethodBssMapping for each dex file, optional.
142 // Add dex file source(s) from a file, either a plain dex file or
143 // a zip file with one or more dex files.
148 // Add dex file source(s) from a zip file specified by a file handle.
153 // Add dex fil
[all...]
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc35 #include "dex/dex_file-inl.h"
36 #include "dex/dex_file_types.h"
345 ObjPtr<mirror::DexCache> dex_cache, dex::StringIndex string_idx, StringTable& strings)
365 dex::TypeIndex type_idx)
438 // Call FindResolvedMethod to populate the dex cache.
496 DCHECK(dex_cache != nullptr); // Boot class path dex caches are never unloaded.
562 CHECK(dex_cache != nullptr); // Boot class path dex caches are never unloaded.
565 PreloadDexCachesResolveString(dex_cache, dex::StringIndex(j), strings);
571 PreloadDexCachesResolveType(soa.Self(), dex_cache, dex::TypeIndex(j));
/art/runtime/utils/
H A Ddex_cache_arrays_layout-inl.h25 #include "dex/primitive.h"
78 inline size_t DexCacheArraysLayout::TypeOffset(dex::TypeIndex type_idx) const {
/art/tools/runtime_memusage/
H A Dsanitizer_logcat_analysis.sh34 echo " Forces all pids associated with registered dex"
41 echo " default: first baksmali dump in order of dex"
269 # Step 4.5 - Obtain Dex File Format of dex file related to package
274 baksmali_dmp_arg="--dex-file "${baksmali_dmp_files[$BAKSMALI_NUM]}
287 apk_oat_files=$(adb shell find "$apk_directory" -name "*.?dex" -type f \
295 --export-dex-to="$intermediates_dir" --output=/dev/null
297 exported_dex_file=$intermediates_dir/$dex_file"_export.dex"
309 baksmali_dmp_arg="--dex-file "${baksmali_dmp_files[$BAKSMALI_NUM]}
/art/runtime/interpreter/
H A Dinterpreter_switch_impl.cc21 #include "dex/dex_file_types.h"
40 shadow_frame.SetDexPC(dex::kDexNoIndex); \
67 // Code to run before each dex instruction.
98 shadow_frame.SetDexPC(dex::kDexNoIndex); \
123 /* Record new dex pc early to have consistent suspend point at loop header. */ \
153 // We got a new exception in the dex-pc-moved event. We just let this exception replace the old
324 shadow_frame.SetDexPC(dex::kDexNoIndex);
347 shadow_frame.SetDexPC(dex::kDexNoIndex);
371 shadow_frame.SetDexPC(dex::kDexNoIndex);
394 shadow_frame.SetDexPC(dex
[all...]

Completed in 483 milliseconds

123456789