replicode
Public Member Functions | Public Attributes | Private Member Functions | List of all members
r_comp::Metadata Class Reference

#include <segments.h>

Collaboration diagram for r_comp::Metadata:
Collaboration graph

Public Member Functions

 Metadata ()
 
Classget_class (std::string &class_name)
 
Classget_class (size_t opcode)
 
void write (uintptr_t *data)
 
void read (uintptr_t *data, size_t size)
 
size_t get_size ()
 

Public Attributes

std::unordered_map< std::string, Classclasses
 
std::unordered_map< std::string, Classsys_classes
 
r_code::vector< std::string > class_names
 
r_code::vector< std::string > operator_names
 
r_code::vector< std::string > function_names
 
r_code::vector< Classclasses_by_opcodes
 

Private Member Functions

uintptr_t get_class_array_size ()
 
uintptr_t get_classes_size ()
 
uintptr_t get_sys_classes_size ()
 
size_t get_class_names_size ()
 
size_t get_operator_names_size ()
 
size_t get_function_names_size ()
 

Constructor & Destructor Documentation

r_comp::Metadata::Metadata ( )

Member Function Documentation

Class * r_comp::Metadata::get_class ( std::string &  class_name)

Here is the caller graph for this function:

Class * r_comp::Metadata::get_class ( size_t  opcode)
uintptr_t r_comp::Metadata::get_class_array_size ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

size_t r_comp::Metadata::get_class_names_size ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

uintptr_t r_comp::Metadata::get_classes_size ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

size_t r_comp::Metadata::get_function_names_size ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

size_t r_comp::Metadata::get_operator_names_size ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

size_t r_comp::Metadata::get_size ( )

Here is the call graph for this function:

Here is the caller graph for this function:

uintptr_t r_comp::Metadata::get_sys_classes_size ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void r_comp::Metadata::read ( uintptr_t *  data,
size_t  size 
)

Here is the call graph for this function:

void r_comp::Metadata::write ( uintptr_t *  data)

Here is the call graph for this function:

Member Data Documentation

r_code::vector<std::string> r_comp::Metadata::class_names
std::unordered_map<std::string, Class> r_comp::Metadata::classes
r_code::vector<Class> r_comp::Metadata::classes_by_opcodes
r_code::vector<std::string> r_comp::Metadata::function_names
r_code::vector<std::string> r_comp::Metadata::operator_names
std::unordered_map<std::string, Class> r_comp::Metadata::sys_classes

The documentation for this class was generated from the following files: