📄 section.h
字号:
// Section.h: interface for the CSection class.
//
//////////////////////////////////////////////////////////////////////
#ifndef section_h
#define section_h
#pragma once
#include "stdafx.h"
namespace PE {
class CSection
{
public:
CSection(CSection const &rSection);
void Resize(DWORD dwNewSize);
DWORD GetData(LPBYTE pData) const;
void GetHeader(IMAGE_SECTION_HEADER &hdr) const;
BOOL WithinFO(DWORD dwFO) const;
BOOL WithinRVA(DWORD dwRVA) const;
void SetData(LPBYTE pData, DWORD cbData);
void SetHeader(IMAGE_SECTION_HEADER &hdrNew);
CSection();
virtual ~CSection();
friend class CPortableExecutable;
protected: // Functions
void Cleanup(void);
protected:
DWORD m_dwSize;
LPBYTE m_pData;
IMAGE_SECTION_HEADER m_hdr;
};
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -