Lines Matching refs:pandasm
66 void GetRecord(pandasm::Record *record, const panda_file::File::EntityId &record_id);
68 void GetMethod(pandasm::Function *method, const panda_file::File::EntityId &method_id);
69 void GetLiteralArray(pandasm::LiteralArray *lit_array, size_t index) const;
77 void FillLiteralArrayData(pandasm::LiteralArray *lit_array, const panda_file::LiteralTag &tag,
79 pandasm::Ins BytecodeInstructionToPandasmInstruction(BytecodeInstruction bc_ins,
93 void FillLiteralData(pandasm::LiteralArray *lit_array, const panda_file::LiteralDataAccessor::LiteralValue &value,
96 void GetFields(pandasm::Record *record, const panda_file::File::EntityId &record_id);
99 void GetAnnotationElements(pandasm::Function &method, const panda_file::AnnotationDataAccessor &ada,
101 void GetMethodAnnotations(pandasm::Function &method, const panda_file::File::EntityId &method_id);
102 void CreateAnnotationElement(panda_file::AnnotationDataAccessor &ada, pandasm::Function &method,
106 void AddAnnotationElement(pandasm::Function &method, const std::string &annotation_name, const std::string &key,
108 void GetParams(pandasm::Function *method, const panda_file::File::EntityId &code_id) const;
109 IdList GetInstructions(pandasm::Function *method, panda_file::File::EntityId method_id,
111 LabelTable GetExceptions(pandasm::Function *method, panda_file::File::EntityId method_id,
115 pandasm::Function::CatchBlock *catch_block_pa, LabelTable *label_table, size_t try_idx) const;
118 pandasm::Function::CatchBlock *catch_block_pa, LabelTable *label_table, size_t try_idx,
121 void GetMetaData(pandasm::Record *record, const panda_file::File::EntityId &record_id) const;
122 void GetMetaData(pandasm::Function *method, const panda_file::File::EntityId &method_id) const;
123 void GetMetaData(pandasm::Field *field, const panda_file::File::EntityId &field_id, bool is_scope_names_record);
124 void GetMetadataFieldValue(panda_file::FieldDataAccessor &field_accessor, pandasm::Field *field,
143 void SerializeValues(const pandasm::LiteralArray &lit_array, T &os) const;
144 std::string SerializeLiteralArray(const pandasm::LiteralArray &lit_array) const;
145 void Serialize(const std::string &key, const pandasm::LiteralArray &lit_array, std::ostream &os) const;
149 void SerializeLiterals(const pandasm::LiteralArray &lit_array, T &os) const;
151 void Serialize(const pandasm::Record &record, std::ostream &os, bool print_information = false) const;
152 void SerializeFields(const pandasm::Record &record, std::ostream &os, bool print_information) const;
153 void Serialize(const pandasm::Function &method, std::ostream &os, bool print_information = false) const;
154 void SerializeInstructions(const pandasm::Function &method, std::ostream &os,
157 void SerializeMethodAnnotations(const pandasm::Function &method, std::ostream &os) const;
158 void SerializeMethodAnnotation(const pandasm::AnnotationData &anno, std::ostream &os) const;
159 void SerializeAnnotationElement(const std::vector<pandasm::AnnotationElement> &elements, std::stringstream &ss,
163 void Serialize(const pandasm::Function::CatchBlock &catch_block, std::ostream &os) const;
164 void Serialize(const pandasm::ItemMetadata &meta, const AnnotationList &ann_list, std::ostream &os) const;
168 const pandasm::Function &method, std::ostream &os) const;
175 pandasm::Type PFTypeToPandasmType(const panda_file::Type &type, panda_file::ProtoDataAccessor &pda,
178 pandasm::Type FieldTypeToPandasmType(const uint32_t &type) const;
185 pandasm::Opcode BytecodeOpcodeToPandasmOpcode(BytecodeInstruction::Opcode o) const;
186 pandasm::Opcode BytecodeOpcodeToPandasmOpcode(uint8_t o) const;
191 void GetLiteralArrayByOffset(pandasm::LiteralArray *lit_array, panda_file::File::EntityId offset) const;
197 std::string getLiteralArrayTypeFromValue(const pandasm::LiteralArray &literal_array) const;
198 void DumpLiteralArray(const pandasm::LiteralArray &literal_array, std::stringstream &ss) const;
199 void SerializeFieldValue(const pandasm::Field &f, std::stringstream &ss) const;
202 pandasm::Program prog_;