Lines Matching refs:builder
69 ir::Builder builder(code_ir->dex_ir); in BoxValue() local
73 auto boxed_type = builder.GetType(boxed_type_name); in BoxValue()
74 auto ir_proto = builder.GetProto(boxed_type, builder.GetTypeList(param_types)); in BoxValue()
76 auto ir_method_decl = builder.GetMethodDecl( in BoxValue()
77 builder.GetAsciiString("valueOf"), ir_proto, boxed_type); in BoxValue()
114 ir::Builder builder(code_ir->dex_ir); in Apply() local
123 this_argument_type = builder.GetType("Ljava/lang/Object;"); in Apply()
136 auto ir_proto = builder.GetProto(builder.GetType("V"), in Apply()
137 builder.GetTypeList(param_types)); in Apply()
139 auto ir_method_decl = builder.GetMethodDecl( in Apply()
140 builder.GetAsciiString(hook_method_id_.method_name), ir_proto, in Apply()
141 builder.GetType(hook_method_id_.class_descriptor)); in Apply()
162 ir::Builder builder(code_ir->dex_ir); in InjectArrayParamsHook() local
203 const auto obj_array_type = builder.GetType("[Ljava/lang/Object;"); in InjectArrayParamsHook()
254 auto ir_proto = builder.GetProto(builder.GetType("V"), in InjectArrayParamsHook()
255 builder.GetTypeList(hook_param_types)); in InjectArrayParamsHook()
257 auto ir_method_decl = builder.GetMethodDecl( in InjectArrayParamsHook()
258 builder.GetAsciiString(hook_method_id_.method_name), ir_proto, in InjectArrayParamsHook()
259 builder.GetType(hook_method_id_.class_descriptor)); in InjectArrayParamsHook()
272 ir::Builder builder(code_ir->dex_ir); in Apply() local
281 const auto return_type = return_as_object ? builder.GetType("Ljava/lang/Object;") in Apply()
290 auto ir_proto = builder.GetProto(return_type, builder.GetTypeList(param_types)); in Apply()
292 auto ir_method_decl = builder.GetMethodDecl( in Apply()
293 builder.GetAsciiString(hook_method_id_.method_name), ir_proto, in Apply()
294 builder.GetType(hook_method_id_.class_descriptor)); in Apply()
374 ir::Builder builder(code_ir->dex_ir); in Apply() local
406 auto ir_proto = builder.GetProto(orig_method->prototype->return_type, in Apply()
407 builder.GetTypeList(param_types)); in Apply()
409 auto ir_method_decl = builder.GetMethodDecl( in Apply()
410 builder.GetAsciiString(detour_method_id_.method_name), ir_proto, in Apply()
411 builder.GetType(detour_method_id_.class_descriptor)); in Apply()
656 ir::Builder builder(dex_ir_); in InstrumentMethod() local
657 auto ir_method = builder.FindMethod(method_id); in InstrumentMethod()