Home
last modified time | relevance | path

Searched refs:slicer (Results 1 – 25 of 32) sorted by relevance

12

/tools/dexter/dexter/
Dexperimental.cc294 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 …]
DAndroid.bp14 "slicer",
Ddexter.cc282 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/
Dreader.h50 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()
Dcommon.h22 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)
Ddex_ir.h151 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 …]
Dtryblocks_encoder.h42 slicer::Buffer handlers_;
43 slicer::Buffer tries_;
Dscopeguard.h21 namespace slicer {
75 auto SLICER_SG_ANONYMOUS(_scope_guard_) = slicer::ScopeGuardHelper() << [&]()
Dmemview.h24 namespace slicer {
Dchronometer.h21 namespace slicer {
Darrayview.h23 namespace slicer {
Ddebuginfo_encoder.h50 slicer::Buffer dbginfo_;
Dbytecode_encoder.h70 slicer::Buffer bytecode_;
Dwriter.h33 class Section : public slicer::Buffer {
233 void WriteInstructions(slicer::ArrayView<const dex::u2> instructions);
Dintrusive_list.h23 namespace slicer {
Dbuffer.h30 namespace slicer {
/tools/dexter/slicer/tests/src/
Dslicer_test.cpp32 slicer::set_logger(testCustomLogger); in TEST()
33 slicer::_weakCheckFailed("expr1", 1, "file"); in TEST()
/tools/dexter/slicer/
Dreader.cc37 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 …]
DAndroid.bp49 name: "slicer",
84 "slicer",
Dtryblocks_encoder.cc106 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()
Ddex_ir_builder.cc69 slicer::Buffer buff; in GetAsciiString()
76 ir_string->data = slicer::MemView(buff.data(), buff.size()); in GetAsciiString()
Dcommon.cc27 namespace slicer { namespace
Ddebuginfo_encoder.cc149 ir_debug_info->data = slicer::MemView(dbginfo_.data(), dbginfo_.size()); in Encode()
/tools/dexter/
DAndroid.bp7 "slicer",
DREADME.md1 This is the home of the .dex manipulation library (slicer) and command line tool (dexter).

12