?? macho_analy.h
字號:
/* * HT Editor * macho_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 macho_analy_h#define macho_analy_h#include "analy.h"#include "htmacho.h"//test#include "machostruc.h"class MachoAnalyser: public Analyser {public: ht_macho_shared_data *macho_shared; File *file; Area *validarea; MachoAnalyser() {}; MachoAnalyser(BuildCtorArg&a): Analyser(a) {}; void init(ht_macho_shared_data *macho_shared, File *File); void load(ObjectStream &f); virtual void done(); virtual ObjectID getObjectID() const; virtual void beginAnalysis(); virtual uint bufPtr(Address *Addr, byte *buf, int size); bool convertAddressToMACHOAddress(Address *addr, MACHOAddress *r); virtual Address *createAddress(); Address *createAddress32(uint32 addr); Address *createAddress64(uint64 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 + -