#include "ElfFile.h" CElfFile::CElfFile(Framework::CStream& stream) : CElfFileContainer(stream) , CELF(GetFileContent()) { } CElfFile::~CElfFile() { } CElfFileContainer::CElfFileContainer(Framework::CStream& input) { uint32 size = static_cast(input.GetLength()); m_content = new uint8[size]; input.Read(m_content, size); } CElfFileContainer::~CElfFileContainer() { delete[] m_content; } uint8* CElfFileContainer::GetFileContent() const { return m_content; }