search for: bbindexbbmap

Displaying 1 result from an estimated 1 matches for "bbindexbbmap".

2006 May 17
0
[LLVMdev] Obfuscation with LLVM
...nction.h" #include "llvm/BasicBlock.h" #include "llvm/Instructions.h" using namespace llvm; class MakeDispatcherPass : public FunctionPass { public: virtual bool runOnFunction( Function& currFunction ); private: typedef std::map< BasicBlock*, unsigned > BBindexBBMap; static unsigned IndexSourceBasicBlocks( Function& function, BBindexBBMap& indexBBMap ); static BasicBlock* CreateNewEntryBlock( const std::string& name, BasicBlock *oldEntryBB ); static void LinkBasicBlockToDispatcher( BasicBlock* basicBlock, BasicBlock* dispatcherBlock,...