Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

class_analy.h

Go to the documentation of this file.
00001 /* 
00002  *      HT Editor
00003  *      class_analy.h
00004  *
00005  *      Copyright (C) 1999-2002 Sebastian Biallas (sb@web-productions.de)
00006  *
00007  *      This program is free software; you can redistribute it and/or modify
00008  *      it under the terms of the GNU General Public License version 2 as
00009  *      published by the Free Software Foundation.
00010  *
00011  *      This program is distributed in the hope that it will be useful,
00012  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *      GNU General Public License for more details.
00015  *
00016  *      You should have received a copy of the GNU General Public License
00017  *      along with this program; if not, write to the Free Software
00018  *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019  */
00020 
00021 #ifndef class_analy_h
00022 #define class_analy_h
00023 
00024 #include "analy.h"
00025 #include "class.h"
00026 
00027 
00028 class ClassAnalyser: public Analyser {
00029 public:
00030         ht_class_shared_data    *class_shared;
00031         ht_streamfile                   *file;
00032 
00033                         void                    init(ht_class_shared_data *Class_shared, ht_streamfile *File);
00034                         int                     load(ht_object_stream *f);
00035         virtual void                    done();
00036         virtual OBJECT_ID               object_id() const;
00037 
00038         virtual void                    beginAnalysis();
00039         virtual UINT                    bufPtr(Address *Addr, byte *buf, int size);
00040         virtual Address         *createAddress();
00041                         Address         *createAddress32(ClassAddress addr);
00042         virtual   Assembler     *createAssembler();
00043         virtual const char      *getName();
00044         virtual   const char    *getType();
00045         virtual void            initCodeAnalyser();
00046         virtual void            initUnasm();
00047         virtual void            log(const char *msg);
00048         virtual Address         *nextValid(Address *Addr);
00049         virtual void                    store(ht_object_stream *f);
00050         virtual int                     queryConfig(int mode);
00051         virtual bool            validAddress(Address *Addr, tsectype action);
00052         virtual Address         *fileofsToAddress(FILEOFS fileofs);
00053         virtual FILEOFS         addressToFileofs(Address *Addr);
00054         virtual char                    *getSegmentNameByAddress(Address *Addr);
00055 };
00056 
00057 #endif
00058 

Generated on Fri May 7 21:15:29 2004 by doxygen 1.3.5