86 #ifndef r_code_image_h
87 #define r_code_image_h
89 #include "../submodules/CoreLibrary/CoreLibrary/types.h"
152 static Image<I> *Build(Timestamp timestamp, uint32 map_size, uint32 code_size, uint32 names_size);
154 static Image<I> *Read(std::ifstream &stream);
155 static void Write(
Image<I> *image, std::ofstream &stream);
160 uint32 get_size()
const;
161 uint32 getObjectCount()
const;
162 word32 *get_object(uint32 i);
163 word32 *getCodeSegment();
164 uint32 getCodeSegmentSize()
const;
170 uint32 dll_export GetSize(
const std::string &s);
171 void dll_export Write(word32 *data,
const std::string &s);
172 void dll_export Read(word32 *data, std::string &s);
176 #include "image.tpl.cpp"