?? pe_analy.h
字號:
/* * HT Editor * pe_analy.h * * Copyright (C) 1999-2002 Sebastian Biallas (sb@biallas.net) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */#ifndef pe_analy_h#define pe_analy_h#include "analy.h"#include "htpe.h"class PEAnalyser: public Analyser {public: ht_pe_shared_data *pe_shared; File *file; Area *validarea; PEAnalyser() {}; PEAnalyser(BuildCtorArg&a): Analyser(a) {}; void init(ht_pe_shared_data *Pe_shared, File *file); void load(ObjectStream &f); void reinit(ht_pe_shared_data *Pe_shared, File *file); virtual void done(); virtual ObjectID getObjectID() const; virtual void beginAnalysis(); virtual uint bufPtr(Address *Addr, byte *buf, int size); bool convertAddressToRVA(Address *addr, RVA *r); virtual Address *createAddress(); Address *createAddress32(uint32 addr); Address *createAddress64(uint64 high_addr); virtual Assembler *createAssembler(); virtual String & getName(String &res); virtual const char *getType(); virtual void initCodeAnalyser(); virtual void initUnasm(); virtual void log(const char *msg); virtual Address *nextValid(Address *Addr); virtual void store(ObjectStream &f) const; virtual int queryConfig(int mode); virtual bool validAddress(Address *Addr, tsectype action); virtual Address *fileofsToAddress(FileOfs fileofs); virtual FileOfs addressToFileofs(Address *Addr); virtual const char *getSegmentNameByAddress(Address *Addr);};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -