Searched refs:slicer (Results 1 – 25 of 31) sorted by relevance
12
/tools/dexter/dexter/ |
D | experimental.cc | 293 slicer::MethodInstrumenter mi(dex_ir); in TestMethodInstrumenter() 294 mi.AddTransformation<slicer::EntryHook>( in TestMethodInstrumenter() 296 slicer::EntryHook::Tweak::ThisAsObject); in TestMethodInstrumenter() 297 mi.AddTransformation<slicer::EntryHook>( in TestMethodInstrumenter() 299 mi.AddTransformation<slicer::ExitHook>(ir::MethodId("LTracer;", "onFooExit")); in TestMethodInstrumenter() 300 mi.AddTransformation<slicer::DetourVirtualInvoke>( in TestMethodInstrumenter() 303 mi.AddTransformation<slicer::DetourInterfaceInvoke>( in TestMethodInstrumenter() 316 slicer::MethodInstrumenter mi(dex_ir); in StressScratchRegs() 319 auto t1 = mi.AddTransformation<slicer::AllocateScratchRegs>(1, false); in StressScratchRegs() 320 auto t2 = mi.AddTransformation<slicer::AllocateScratchRegs>(1, false); in StressScratchRegs() [all …]
|
D | dexter.cc | 275 slicer::Chronometer chrono(writer_time_); in CreateNewImage() 357 slicer::Chronometer chrono(reader_time_); in ProcessDex() 379 slicer::Chronometer chrono(experiments_time_, true); in ProcessDex()
|
D | Android.bp | 14 "slicer",
|
/tools/dexter/slicer/export/slicer/ |
D | reader.h | 50 slicer::ArrayView<const dex::ClassDef> ClassDefs() const; 51 slicer::ArrayView<const dex::StringId> StringIds() const; 52 slicer::ArrayView<const dex::TypeId> TypeIds() const; 53 slicer::ArrayView<const dex::FieldId> FieldIds() const; 54 slicer::ArrayView<const dex::MethodId> MethodIds() const; 55 slicer::ArrayView<const dex::ProtoId> ProtoIds() const; 102 void ParseInstructions(slicer::ArrayView<const dex::u2> code); 121 slicer::ArrayView<const T> section(int offset, int count) const { in section() 122 return slicer::ArrayView<const T>(ptr<T>(offset), count); in section()
|
D | dex_ir.h | 150 SLICER_EXTRA(slicer::MemView original); 163 slicer::MemView data; 223 slicer::MemView data; 232 slicer::ArrayView<const dex::u2> instructions; 233 slicer::ArrayView<const dex::TryBlock> try_blocks; 234 slicer::MemView catch_handlers; 355 using StringsLookup = slicer::HashTable<const char*, String, StringsHasher>; 356 using PrototypesLookup = slicer::HashTable<const std::string&, Proto, ProtosHasher>; 357 using MethodsLookup = slicer::HashTable<const MethodKey&, EncodedMethod, MethodsHasher>; 399 slicer::MemView magic; [all …]
|
D | common.h | 19 namespace slicer { 24 #define SLICER_CHECK(expr) do { if(!(expr)) slicer::_checkFailed(#expr, __LINE__, __FILE__); } whil… 34 #define SLICER_WEAK_CHECK(expr) do { if(!(expr)) slicer::_weakCheckFailed(#expr, __LINE__, __FILE__… 38 #define SLICER_FATAL(format, ...) slicer::_fatal("\nSLICER_FATAL: " format "\n\n", ##__VA_ARGS__);
|
D | tryblocks_encoder.h | 42 slicer::Buffer handlers_; 43 slicer::Buffer tries_;
|
D | scopeguard.h | 19 namespace slicer { 73 auto SLICER_SG_ANONYMOUS(_scope_guard_) = slicer::ScopeGuardHelper() << [&]()
|
D | writer.h | 33 class Section : public slicer::Buffer { 228 void WriteInstructions(slicer::ArrayView<const dex::u2> instructions);
|
D | memview.h | 24 namespace slicer {
|
D | arrayview.h | 23 namespace slicer {
|
D | chronometer.h | 21 namespace slicer {
|
D | debuginfo_encoder.h | 50 slicer::Buffer dbginfo_;
|
D | code_ir.h | 237 using InstructionsList = slicer::IntrusiveList<Instruction>; 331 slicer::MemView data;
|
D | bytecode_encoder.h | 70 slicer::Buffer bytecode_;
|
D | intrusive_list.h | 23 namespace slicer {
|
D | buffer.h | 30 namespace slicer {
|
/tools/dexter/slicer/ |
D | reader.cc | 36 dex_ir_->magic = slicer::MemView(header_, sizeof(dex::Header::magic)); in Reader() 39 slicer::ArrayView<const dex::ClassDef> Reader::ClassDefs() const { in ClassDefs() 44 slicer::ArrayView<const dex::StringId> Reader::StringIds() const { in StringIds() 49 slicer::ArrayView<const dex::TypeId> Reader::TypeIds() const { in TypeIds() 54 slicer::ArrayView<const dex::FieldId> Reader::FieldIds() const { in FieldIds() 59 slicer::ArrayView<const dex::MethodId> Reader::MethodIds() const { in MethodIds() 64 slicer::ArrayView<const dex::ProtoId> Reader::ProtoIds() const { in ProtoIds() 556 SLICER_EXTRA(ir_encoded_value->original = slicer::MemView(base_ptr, *pptr - base_ptr)); in ParseEncodedValue() 696 ir_debug_info->data = slicer::MemView(base_ptr, ptr - base_ptr); in ExtractDebugInfo() 717 slicer::ArrayView<const dex::u2>(dex_code->insns, dex_code->insns_size); in ExtractCode() [all …]
|
D | tryblocks_encoder.cc | 107 ir_code->try_blocks = slicer::ArrayView<const dex::TryBlock>(tries_ptr, tries_count); in Encode() 108 ir_code->catch_handlers = slicer::MemView(handlers_.data(), handlers_.size()); in Encode()
|
D | dex_ir_builder.cc | 69 slicer::Buffer buff; in GetAsciiString() 76 ir_string->data = slicer::MemView(buff.data(), buff.size()); in GetAsciiString()
|
D | common.cc | 25 namespace slicer { namespace
|
D | Android.bp | 49 name: "slicer",
|
D | debuginfo_encoder.cc | 143 ir_debug_info->data = slicer::MemView(dbginfo_.data(), dbginfo_.size()); in Encode()
|
/tools/dexter/ |
D | Android.bp | 7 "slicer",
|
D | README.md | 1 This is the home of the .dex manipulation library (slicer) and command line tool (dexter).
|
12