Searched refs:slicer (Results 1 – 25 of 32) sorted by relevance
12
/tools/dexter/dexter/ |
D | experimental.cc | 294 slicer::MethodInstrumenter mi(dex_ir); in TestMethodInstrumenter() 295 mi.AddTransformation<slicer::EntryHook>( in TestMethodInstrumenter() 297 slicer::EntryHook::Tweak::ThisAsObject); in TestMethodInstrumenter() 298 mi.AddTransformation<slicer::EntryHook>( in TestMethodInstrumenter() 300 mi.AddTransformation<slicer::ExitHook>(ir::MethodId("LTracer;", "onFooExit")); in TestMethodInstrumenter() 301 mi.AddTransformation<slicer::DetourVirtualInvoke>( in TestMethodInstrumenter() 304 mi.AddTransformation<slicer::DetourInterfaceInvoke>( in TestMethodInstrumenter() 317 slicer::MethodInstrumenter mi(dex_ir); in StressScratchRegs() 320 auto t1 = mi.AddTransformation<slicer::AllocateScratchRegs>(1, false); in StressScratchRegs() 321 auto t2 = mi.AddTransformation<slicer::AllocateScratchRegs>(1, false); in StressScratchRegs() [all …]
|
D | Android.bp | 14 "slicer",
|
D | dexter.cc | 282 slicer::Chronometer chrono(writer_time_); in CreateNewImage() 372 slicer::Chronometer chrono(reader_time_); in ProcessDex() 394 slicer::Chronometer chrono(experiments_time_, true); in ProcessDex()
|
/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; 56 slicer::ArrayView<const dex::MethodHandle> MethodHandles() const; 105 void ParseInstructions(slicer::ArrayView<const dex::u2> code); 124 slicer::ArrayView<const T> section(int offset, int count) const { in section() 125 return slicer::ArrayView<const T>(ptr<T>(offset), count); in section()
|
D | common.h | 22 namespace slicer { 27 #define SLICER_CHECK(expr) do { if(!(expr)) slicer::_checkFailed(#expr, __LINE__, __FILE__); } whil… 40 slicer::_checkFailedOp(lhs, rhs, #op, suffix, __LINE__, __FILE__); \ 61 #define SLICER_WEAK_CHECK(expr) do { if(!(expr)) slicer::_weakCheckFailed(#expr, __LINE__, __FILE__… 65 #define SLICER_FATAL(msg) slicer::_fatal(msg)
|
D | dex_ir.h | 151 SLICER_EXTRA(slicer::MemView original); 164 slicer::MemView data; 234 slicer::MemView data; 243 slicer::ArrayView<const dex::u2> instructions; 244 slicer::ArrayView<const dex::TryBlock> try_blocks; 245 slicer::MemView catch_handlers; 366 using StringsLookup = slicer::HashTable<const char*, String, StringsHasher>; 367 using PrototypesLookup = slicer::HashTable<const std::string&, Proto, ProtosHasher>; 368 using MethodsLookup = slicer::HashTable<const MethodKey&, EncodedMethod, MethodsHasher>; 412 slicer::MemView magic; [all …]
|
D | tryblocks_encoder.h | 42 slicer::Buffer handlers_; 43 slicer::Buffer tries_;
|
D | scopeguard.h | 21 namespace slicer { 75 auto SLICER_SG_ANONYMOUS(_scope_guard_) = slicer::ScopeGuardHelper() << [&]()
|
D | memview.h | 24 namespace slicer {
|
D | chronometer.h | 21 namespace slicer {
|
D | arrayview.h | 23 namespace slicer {
|
D | debuginfo_encoder.h | 50 slicer::Buffer dbginfo_;
|
D | bytecode_encoder.h | 70 slicer::Buffer bytecode_;
|
D | writer.h | 33 class Section : public slicer::Buffer { 233 void WriteInstructions(slicer::ArrayView<const dex::u2> instructions);
|
D | intrusive_list.h | 23 namespace slicer {
|
D | buffer.h | 30 namespace slicer {
|
/tools/dexter/slicer/tests/src/ |
D | slicer_test.cpp | 32 slicer::set_logger(testCustomLogger); in TEST() 33 slicer::_weakCheckFailed("expr1", 1, "file"); in TEST()
|
/tools/dexter/slicer/ |
D | reader.cc | 37 dex_ir_->magic = slicer::MemView(header_, sizeof(dex::Header::magic)); in Reader() 40 slicer::ArrayView<const dex::ClassDef> Reader::ClassDefs() const { in ClassDefs() 45 slicer::ArrayView<const dex::StringId> Reader::StringIds() const { in StringIds() 50 slicer::ArrayView<const dex::TypeId> Reader::TypeIds() const { in TypeIds() 55 slicer::ArrayView<const dex::FieldId> Reader::FieldIds() const { in FieldIds() 60 slicer::ArrayView<const dex::MethodId> Reader::MethodIds() const { in MethodIds() 65 slicer::ArrayView<const dex::ProtoId> Reader::ProtoIds() const { in ProtoIds() 70 slicer::ArrayView<const dex::MethodHandle> Reader::MethodHandles() const { in MethodHandles() 73 slicer::ArrayView<const dex::MethodHandle> ret; in MethodHandles() 87 slicer::ArrayView<const dex::MethodHandle> ret; in MethodHandles() [all …]
|
D | Android.bp | 49 name: "slicer", 84 "slicer",
|
D | tryblocks_encoder.cc | 106 ir_code->try_blocks = slicer::ArrayView<const dex::TryBlock>(tries_ptr, tries_count); in Encode() 107 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 | 27 namespace slicer { namespace
|
D | debuginfo_encoder.cc | 149 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