Searched refs:dex_ir_ (Results 1 – 10 of 10) sorted by relevance
/tools/dexter/slicer/ |
D | dex_ir_builder.cc | 49 return dex_ir_->methods_lookup.Lookup(method_key); in FindMethod() 53 return dex_ir_->prototypes_lookup.Lookup(signature); in FindPrototype() 57 return dex_ir_->strings_lookup.Lookup(cstr); in FindAsciiString() 75 ir_string = dex_ir_->Alloc<String>(); in GetAsciiString() 79 auto new_index = dex_ir_->strings_indexes.AllocateIndex(); in GetAsciiString() 80 auto& ir_node = dex_ir_->strings_map[new_index]; in GetAsciiString() 86 dex_ir_->AttachBuffer(std::move(buff)); in GetAsciiString() 89 dex_ir_->strings_lookup.Insert(ir_string); in GetAsciiString() 96 for (const auto& ir_type : dex_ir_->types) { in GetType() 103 auto ir_type = dex_ir_->Alloc<Type>(); in GetType() [all …]
|
D | reader.cc | 35 dex_ir_ = std::make_shared<ir::DexFile>(); in Reader() 36 dex_ir_->magic = slicer::MemView(header_, sizeof(dex::Header::magic)); in Reader() 123 auto& p = dex_ir_->classes_map[index]; in GetClass() 130 dex_ir_->classes_indexes.MarkUsedIndex(index); in GetClass() 140 auto& p = dex_ir_->types_map[index]; in GetType() 147 dex_ir_->types_indexes.MarkUsedIndex(index); in GetType() 157 auto& p = dex_ir_->fields_map[index]; in GetFieldDecl() 164 dex_ir_->fields_indexes.MarkUsedIndex(index); in GetFieldDecl() 174 auto& p = dex_ir_->methods_map[index]; in GetMethodDecl() 181 dex_ir_->methods_indexes.MarkUsedIndex(index); in GetMethodDecl() [all …]
|
D | writer.cc | 254 dex_ir_->Normalize(); in CreateImage() 262 offset += dex_->string_ids.Init(offset, dex_ir_->strings.size()); in CreateImage() 263 offset += dex_->type_ids.Init(offset, dex_ir_->types.size()); in CreateImage() 264 offset += dex_->proto_ids.Init(offset, dex_ir_->protos.size()); in CreateImage() 265 offset += dex_->field_ids.Init(offset, dex_ir_->fields.size()); in CreateImage() 266 offset += dex_->method_ids.Init(offset, dex_ir_->methods.size()); in CreateImage() 267 offset += dex_->class_defs.Init(offset, dex_ir_->classes.size()); in CreateImage() 310 memcpy(header->magic, dex_ir_->magic.ptr(), dex_ir_->magic.size()); in CreateImage() 366 const auto& strings = dex_ir_->strings; in CreateStringDataSection() 440 for (const auto& ir_node : dex_ir_->annotations) { in CreateAnnItemSection() [all …]
|
D | instrumentation.cc | 665 lir::CodeIr code_ir(ir_method, dex_ir_); in InstrumentMethod() 678 ir::Builder builder(dex_ir_); in InstrumentMethod()
|
/tools/dexter/dexter/ |
D | dissasembler.h | 30 : dex_ir_(dex_ir), cfg_(cfg) {} in PrintCodeIrVisitor() 59 std::shared_ptr<ir::DexFile> dex_ir_; 75 : dex_ir_(dex_ir), cfg_type_(cfg_type) {} in dex_ir_() function 87 std::shared_ptr<ir::DexFile> dex_ir_;
|
D | dissasembler.cc | 312 for (auto& ir_method : dex_ir_->encoded_methods) { in DumpAllMethods() 327 lir::CodeIr code_ir(ir_method, dex_ir_); in Dissasemble() 339 PrintCodeIrVisitor visitor(dex_ir_, cfg.get()); in Dissasemble()
|
/tools/dexter/slicer/export/slicer/ |
D | dex_ir_builder.h | 49 explicit Builder(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in Builder() 83 std::shared_ptr<ir::DexFile> dex_ir_;
|
D | instrumentation.h | 201 explicit MethodInstrumenter(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in MethodInstrumenter() 221 std::shared_ptr<ir::DexFile> dex_ir_;
|
D | reader.h | 59 std::shared_ptr<ir::DexFile> GetIr() const { return dex_ir_; } in GetIr() 142 std::shared_ptr<ir::DexFile> dex_ir_; variable
|
D | writer.h | 179 explicit Writer(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in Writer() 236 std::shared_ptr<ir::DexFile> dex_ir_;
|