2008-10-20 04:12:44 +00:00
|
|
|
#ifndef _ELFFILE_H_
|
|
|
|
#define _ELFFILE_H_
|
|
|
|
|
|
|
|
#include "ELF.h"
|
|
|
|
|
|
|
|
class CElfFileContainer
|
|
|
|
{
|
|
|
|
public:
|
2018-04-30 21:01:23 +01:00
|
|
|
CElfFileContainer(Framework::CStream&);
|
|
|
|
virtual ~CElfFileContainer();
|
2008-10-20 04:12:44 +00:00
|
|
|
|
2018-04-30 21:01:23 +01:00
|
|
|
uint8* GetFileContent() const;
|
2008-10-20 04:12:44 +00:00
|
|
|
|
|
|
|
private:
|
2018-04-30 21:01:23 +01:00
|
|
|
uint8* m_content;
|
2008-10-20 04:12:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class CElfFile : protected CElfFileContainer, public CELF
|
|
|
|
{
|
|
|
|
public:
|
2018-04-30 21:01:23 +01:00
|
|
|
CElfFile(Framework::CStream&);
|
|
|
|
virtual ~CElfFile();
|
2008-10-20 04:12:44 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|