Home
last modified time | relevance | path

Searched refs:Alloc (Results 1 – 9 of 9) sorted by relevance

/tools/dexter/slicer/
Dinstrumentation.cc83 auto boxing_method = code_ir->Alloc<lir::Method>(ir_method_decl, ir_method_decl->orig_index); in BoxValue()
85 auto args = code_ir->Alloc<lir::VRegRange>(src_reg, 1 + is_wide); in BoxValue()
86 auto boxing_invoke = code_ir->Alloc<lir::Bytecode>(); in BoxValue()
92 auto move_result = code_ir->Alloc<lir::Bytecode>(); in BoxValue()
94 move_result->operands.push_back(code_ir->Alloc<lir::VReg>(dst_reg)); in BoxValue()
152 auto hook_method = code_ir->Alloc<lir::Method>(ir_method_decl, ir_method_decl->orig_index); in Apply()
157 auto args = code_ir->Alloc<lir::VRegRange>(regs - args_count, args_count); in Apply()
160 auto hook_invoke = code_ir->Alloc<lir::Bytecode>(); in Apply()
196 auto move = code_ir->Alloc<lir::Bytecode>(); in GenerateShiftParamsCode()
200 move->operands.push_back(code_ir->Alloc<lir::VReg>(reg - shift)); in GenerateShiftParamsCode()
[all …]
Dcode_ir.cc61 auto try_block_begin = Alloc<TryBlockBegin>(); in DisassembleTryBlocks()
65 auto try_block_end = Alloc<TryBlockEnd>(); in DisassembleTryBlocks()
120 auto dbg_header = Alloc<DbgInfoHeader>(); in DisassembleDebugInfo()
128 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_SET_FILE); in DisassembleDebugInfo()
130 annotation->operands.push_back(Alloc<String>( in DisassembleDebugInfo()
137 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_ADVANCE_LINE); in DisassembleDebugInfo()
139 annotation->operands.push_back(Alloc<LineNumber>(line)); in DisassembleDebugInfo()
162 annotation = Alloc<DbgInfoAnnotation>(opcode); in DisassembleDebugInfo()
165 annotation->operands.push_back(Alloc<VReg>(dex::ReadULeb128(&ptr))); in DisassembleDebugInfo()
177 annotation = Alloc<DbgInfoAnnotation>(opcode); in DisassembleDebugInfo()
[all …]
Dreader.cc224 auto ir_class = dex_ir_->Alloc<ir::Class>(); in ParseClass()
291 ir_annotations = dex_ir_->Alloc<ir::AnnotationsDirectory>(); in ExtractAnnotations()
339 ir_annotation_set = dex_ir_->Alloc<ir::AnnotationSet>(); in ExtractAnnotationSet()
355 auto ir_annotation_set_ref_list = dex_ir_->Alloc<ir::AnnotationSetRefList>(); in ExtractAnnotationSetRefList()
371 auto ir_field_annotation = dex_ir_->Alloc<ir::FieldAnnotation>(); in ParseFieldAnnotation()
386 auto ir_method_annotation = dex_ir_->Alloc<ir::MethodAnnotation>(); in ParseMethodAnnotation()
401 auto ir_param_annotation = dex_ir_->Alloc<ir::ParamAnnotation>(); in ParseParamAnnotation()
414 auto ir_encoded_field = dex_ir_->Alloc<ir::EncodedField>(); in ParseEncodedField()
470 auto ir_encoded_value = dex_ir_->Alloc<ir::EncodedValue>(); in ParseEncodedValue()
563 auto ir_annotation = dex_ir_->Alloc<ir::Annotation>(); in ParseAnnotation()
[all …]
Ddex_ir_builder.cc75 ir_string = dex_ir_->Alloc<String>(); in GetAsciiString()
103 auto ir_type = dex_ir_->Alloc<Type>(); in GetType()
129 auto ir_type_list = dex_ir_->Alloc<TypeList>(); in GetTypeList()
160 auto ir_proto = dex_ir_->Alloc<Proto>(); in GetProto()
189 auto ir_field = dex_ir_->Alloc<FieldDecl>(); in GetFieldDecl()
215 auto ir_method = dex_ir_->Alloc<MethodDecl>(); in GetMethodDecl()
/tools/dexter/dexter/
Dexperimental.cc105 auto wraper_method = code_ir.Alloc<lir::Method>(ir_method_decl, ir_method_decl->orig_index); in StressWrapInvoke()
108 auto new_call = code_ir.Alloc<lir::Bytecode>(); in StressWrapInvoke()
166 auto target_method = code_ir.Alloc<lir::Method>(ir_method_decl, ir_method_decl->orig_index); in StressEntryHook()
171 auto args = code_ir.Alloc<lir::VRegRange>(regs - args_count, args_count); in StressEntryHook()
174 auto call = code_ir.Alloc<lir::Bytecode>(); in StressEntryHook()
225 auto target_method = code_ir.Alloc<lir::Method>(ir_method_decl, ir_method_decl->orig_index); in StressExitHook()
266 auto args = code_ir.Alloc<lir::VRegRange>(reg, reg_count); in StressExitHook()
267 auto call = code_ir.Alloc<lir::Bytecode>(); in StressExitHook()
281 auto move_result = code_ir.Alloc<lir::Bytecode>(); in StressExitHook()
392 auto tracing_method = code_ir.Alloc<lir::Method>(ir_method_decl, ir_method_decl->orig_index); in CodeCoverage()
[all …]
/tools/security/fuzzing/orphans/widevine/trusty/
Ddispatch_fuzzer.cpp93 wv_msg_buf_fd.reset(allocator.Alloc(kDmabufSystemHeapName, WV_MESSAGE_BUFFER_SIZE)); in LLVMFuzzerInitialize()
106 wv_shared_buf_fd.reset(allocator.Alloc(kDmabufSystemHeapName, WV_SHARED_BUFFER_SIZE)); in LLVMFuzzerInitialize()
/tools/dexter/slicer/export/slicer/
Dbuffer.h85 Alloc(alignment - rem); in Align()
89 size_t Alloc(size_t size) { in Alloc() function
Ddex_ir.h423 T* Alloc() { in Alloc() function
Dcode_ir.h434 T* Alloc(Args&&... args) { in Alloc() function