• Home
  • Raw
  • Download

Lines Matching full:const

59 …void Disassemble(const std::string &filename_in, const bool quiet = false, const bool skip_strings…
61 …oid Serialize(std::ostream &os, bool add_separators = false, bool print_information = false) const;
63 static inline bool IsPandasmFriendly(const char c);
64 static inline bool IsSystemType(const std::string &type_name);
66 void GetRecord(pandasm::Record *record, const panda_file::File::EntityId &record_id);
67 void AddMethodToTables(const panda_file::File::EntityId &method_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;
70 …optional<std::vector<std::string>> GetAnnotationByMethodName(const std::string &method_name) const;
71 std::vector<std::string> GetStrings() const;
72 std::vector<std::string> GetModuleLiterals() const;
74 void FillLiteralArrayData(pandasm::LiteralArray *lit_array, const panda_file::LiteralTag &tag,
75 const panda_file::LiteralDataAccessor::LiteralValue &value) const;
77 … panda_file::File::EntityId method_id) const;
79 const ProgInfo &GetProgInfo() const in GetProgInfo()
89 …void FillLiteralData(pandasm::LiteralArray *lit_array, const panda_file::LiteralDataAccessor::Lite…
90 const panda_file::LiteralTag &tag) const;
92 void GetFields(pandasm::Record *record, const panda_file::File::EntityId &record_id);
94 void GetMethods(const panda_file::File::EntityId &record_id);
95 … void GetMethodAnnotations(pandasm::Function &method, const panda_file::File::EntityId &method_id);
97 const std::string &ann_name, const std::string &ann_elem_name,
98 const std::string &ann_elem_index);
99 void AddAnnotationElement(pandasm::Function &method, const std::string &annotation_name,
100 const std::string &key, const uint32_t &value);
101 void GetParams(pandasm::Function *method, const panda_file::File::EntityId &code_id) const;
103 panda_file::File::EntityId code_id) const;
105 panda_file::File::EntityId code_id) const;
106 bool LocateTryBlock(const BytecodeInstruction &bc_ins, const BytecodeInstruction &bc_ins_last,
107 const panda_file::CodeDataAccessor::TryBlock &try_block,
108 … pandasm::Function::CatchBlock *catch_block_pa, LabelTable *label_table, size_t try_idx) const;
109 bool LocateCatchBlock(const BytecodeInstruction &bc_ins, const BytecodeInstruction &bc_ins_last,
110 const panda_file::CodeDataAccessor::CatchBlock &catch_block,
112 size_t catch_idx) const;
114 void GetMetaData(pandasm::Record *record, const panda_file::File::EntityId &record_id) const;
115 void GetMetaData(pandasm::Function *method, const panda_file::File::EntityId &method_id) const;
116 …void GetMetaData(pandasm::Field *field, const panda_file::File::EntityId &field_id, bool is_scope_…
120 std::string AnnotationTagToString(const char tag) const;
122 std::string ScalarValueToString(const panda_file::ScalarValue &value, const std::string &type);
123 …std::string ArrayValueToString(const panda_file::ArrayValue &value, const std::string &type, const
125 std::string GetFullMethodName(const panda_file::File::EntityId &method_id) const;
126 std::string GetMethodSignature(const panda_file::File::EntityId &method_id) const;
127 std::string GetFullRecordName(const panda_file::File::EntityId &class_id) const;
129 void GetRecordInfo(const panda_file::File::EntityId &record_id, RecordInfo *record_info) const;
130 void GetMethodInfo(const panda_file::File::EntityId &method_id, MethodInfo *method_info) const;
131 void GetInsInfo(const panda_file::File::EntityId &code_id, MethodInfo *method_info) const;
134 void SerializeValues(const pandasm::LiteralArray &lit_array, T &os) const;
135 std::string SerializeLiteralArray(const pandasm::LiteralArray &lit_array) const;
136 …void Serialize(const std::string &key, const pandasm::LiteralArray &lit_array, std::ostream &os) c…
137 void Serialize(const std::string &module_offset, const std::vector<std::string> &module_array,
138 std::ostream &os) const;
140 void SerializeLiterals(const pandasm::LiteralArray &lit_array, T &os) const;
141 std::string LiteralTagToString(const panda_file::LiteralTag &tag) const;
142 …void Serialize(const pandasm::Record &record, std::ostream &os, bool print_information = false) co…
143 …void SerializeFields(const pandasm::Record &record, std::ostream &os, bool print_information) cons…
144 …void Serialize(const pandasm::Function &method, std::ostream &os, bool print_information = false)
145 void SerializeInstructions(const pandasm::Function &method, std::ostream &os,
146const std::map<std::string, MethodInfo>::const_iterator &method_info_it,
147 bool print_method_info = false) const;
148 void SerializeMethodAnnotations(const pandasm::Function &method, std::ostream &os) const;
149 void SerializeStrings(const panda_file::File::EntityId &offset, const std::string &name_value,
150 std::ostream &os) const;
151 void Serialize(const pandasm::Function::CatchBlock &catch_block, std::ostream &os) const;
152 …void Serialize(const pandasm::ItemMetadata &meta, const AnnotationList &ann_list, std::ostream &os…
153 …void SerializeLineNumberTable(const panda_file::LineNumberTable &line_number_table, std::ostream &…
154 void SerializeColumnNumberTable(const panda_file::ColumnNumberTable &column_number_table,
155 std::ostream &os) const;
156 void SerializeLocalVariableTable(const panda_file::LocalVariableTable &local_variable_table,
157 const pandasm::Function &method, std::ostream &os) const;
158 bool IsModuleLiteralOffset(const panda_file::File::EntityId &id) const;
159 inline void SerializeLanguage(std::ostream &os) const in SerializeLanguage()
164 …pandasm::Type PFTypeToPandasmType(const panda_file::Type &type, panda_file::ProtoDataAccessor &pda,
165 size_t &ref_idx) const;
167 pandasm::Type FieldTypeToPandasmType(const uint32_t &type) const;
174 pandasm::Opcode BytecodeOpcodeToPandasmOpcode(BytecodeInstruction::Opcode o) const;
175 pandasm::Opcode BytecodeOpcodeToPandasmOpcode(uint8_t o) const;
177 …ing IDToString(BytecodeInstruction bc_ins, panda_file::File::EntityId method_id, size_t idx) const;
179 panda::panda_file::SourceLang GetRecordLanguage(panda_file::File::EntityId class_id) const;
180 …GetLiteralArrayByOffset(pandasm::LiteralArray *lit_array, panda_file::File::EntityId offset) const;
182 std::vector<std::string> GetModuleLiteralArray(panda_file::File::EntityId &module_id) const;
183 std::string SerializeModuleLiteralArray(const std::vector<std::string> &module_array) const;
184 std::string ModuleTagToString(panda_file::ModuleTag &tag) const;
186 std::unique_ptr<const panda_file::File> file_;
189 inline std::string GetStringByOffset(uint32_t offset) const in GetStringByOffset()
191 const auto sd = file_->GetStringData(panda_file::File::EntityId(offset)); in GetStringByOffset()
195 inline bool IsValidOffset(uint32_t offset) const in IsValidOffset()
200 inline std::string GetFileNameByPath(const std::string &file_path) const in GetFileNameByPath()