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

analy_java.h

Go to the documentation of this file.
00001 /* 
00002  *      HT Editor
00003  *      analy_java.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 ANALY_JAVA_H
00022 #define ANALY_JAVA_H
00023 
00024 #include "analy.h"
00025 #include "javadis.h"
00026 
00027 class AnalyJavaDisassembler: public AnalyDisassembler {
00028 public:
00029                         void                    init(Analyser *A, java_token_func token_func, void *context);
00030                         int                     load(ht_object_stream *f);
00031         virtual   void                  done();
00032         virtual OBJECT_ID               object_id() const;
00033 
00034         virtual Address         *branchAddr(OPCODE *opcode, branch_enum_t branchtype, bool examine);
00035         virtual void                    examineOpcode(OPCODE *opcode);
00036         virtual branch_enum_t   isBranch(OPCODE *opcode);
00037         virtual void                    store(ht_object_stream *f);
00038 };
00039 
00040 #endif /* ANALY_JAVA_H */
00041 

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