KInstruction.h

Go to the documentation of this file.
00001 //===-- KInstruction.h ------------------------------------------*- C++ -*-===//
00002 //
00003 //                     The KLEE Symbolic Virtual Machine
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 
00010 #ifndef KLEE_KINSTRUCTION_H
00011 #define KLEE_KINSTRUCTION_H
00012 
00013 #include <vector>
00014 
00015 namespace llvm {
00016   class Instruction;
00017 }
00018 
00019 namespace klee {
00020   class Executor;
00021   struct InstructionInfo;
00022   class KModule;
00023 
00024 
00027   struct KInstruction {
00028     llvm::Instruction *inst;    
00029     const InstructionInfo *info;
00030 
00035     int *operands;
00037     unsigned dest;
00038 
00039   public:
00040     virtual ~KInstruction(); 
00041   };
00042 
00043   struct KGEPInstruction : KInstruction {
00044     std::vector< std::pair<unsigned, unsigned> > indices;
00045     unsigned offset;
00046   };
00047 }
00048 
00049 #endif
00050 

Generated on Fri Jun 5 03:31:31 2009 for klee by  doxygen 1.5.8