Lines Matching full:method_id
148 void Disassembler::AddMethodToTables(const panda_file::File::EntityId &method_id) in AddMethodToTables() argument
151 GetMethod(&new_method, method_id); in AddMethodToTables()
158 method_name_to_id_.emplace(signature, method_id); in AddMethodToTables()
163 void Disassembler::GetMethod(pandasm::Function *method, const panda_file::File::EntityId &method_id) in GetMethod() argument
165 …DEBUG, DISASSEMBLER) << "\n[getting method]\nid: " << method_id << " (0x" << std::hex << method_id… in GetMethod()
173 panda_file::MethodDataAccessor method_accessor(*file_, method_id); in GetMethod()
175 method->name = GetFullMethodName(method_id); in GetMethod()
180 GetMetaData(method, method_id); in GetMethod()
183 … const IdList id_list = GetInstructions(method, method_id, method_accessor.GetCodeId().value()); in GetMethod()
189 …G(ERROR, DISASSEMBLER) << "> error encountered at " << method_id << " (0x" << std::hex << method_id in GetMethod()
468 …lTable Disassembler::GetExceptions(pandasm::Function *method, panda_file::File::EntityId method_id, in GetExceptions() argument
497 const auto class_id = file_->ResolveClassIndex(method_id, class_idx); in GetExceptions()
645 …ssembler::GetMetaData(pandasm::Function *method, const panda_file::File::EntityId &method_id) const in GetMetaData()
647 … DISASSEMBLER) << "[getting metadata]\nmethod id: " << method_id << " (0x" << std::hex << method_id in GetMetaData()
656 panda_file::MethodDataAccessor method_accessor(*file_, method_id); in GetMetaData()
927 std::string Disassembler::GetFullMethodName(const panda_file::File::EntityId &method_id) const in GetFullMethodName()
929 panda::panda_file::MethodDataAccessor method_accessor(*file_, method_id); in GetFullMethodName()
943 std::string Disassembler::GetMethodSignature(const panda_file::File::EntityId &method_id) const in GetMethodSignature()
945 panda::panda_file::MethodDataAccessor method_accessor(*file_, method_id); in GetMethodSignature()
947 pandasm::Function method(GetFullMethodName(method_id), file_language_); in GetMethodSignature()
949 GetMetaData(&method, method_id); in GetMethodSignature()
992 void Disassembler::GetMethodInfo(const panda_file::File::EntityId &method_id, MethodInfo *method_in… in GetMethodInfo() argument
996 panda_file::MethodDataAccessor method_accessor {*file_, method_id}; in GetMethodInfo()
1015 method_info->line_number_table = debug_info_extractor_->GetLineNumberTable(method_id); in GetMethodInfo()
1016 method_info->local_variable_table = debug_info_extractor_->GetLocalVariableTable(method_id); in GetMethodInfo()
1022 for (auto info : debug_info_extractor_->GetParameterInfo(method_id)) { in GetMethodInfo()
1550 …::string Disassembler::IDToString(BytecodeInstruction bc_ins, panda_file::File::EntityId method_id, in IDToString() argument
1554 const auto offset = file_->ResolveOffsetByIndex(method_id, bc_ins.GetId(idx).AsIndex()); in IDToString()
1556 if (bc_ins.IsIdMatchFlag(idx, BytecodeInstruction::Flags::METHOD_ID)) { in IDToString()
1613 …List Disassembler::GetInstructions(pandasm::Function *method, panda_file::File::EntityId method_id, in GetInstructions() argument
1626 LabelTable label_table = GetExceptions(method, method_id, code_id); in GetInstructions()
1639 auto pa_ins = BytecodeInstructionToPandasmInstruction(bc_ins, method_id); in GetInstructions()
1645 if (bc_ins.HasFlag(BytecodeInstruction::Flags::METHOD_ID)) { in GetInstructions()
1647 const auto arg_method_id = file_->ResolveMethodIndex(method_id, arg_method_idx); in GetInstructions()