+
+ void dispatch(RenameFunctionEvent* event)
+ { rename_function_signal(event); }
+
+
+ Function* getFunction(uint64_t address);
+ bool hasFunctions() const {return functions.size() != 0;}
+ std::map<uint64_t, Function*>::const_iterator beginFunctions();
+ std::map<uint64_t, Function*>::const_iterator endFunctions();
+
+ BasicBlock* getBasicBlock(uint64_t address);
+ bool hasBasicBlocks() const {return blocks.size() != 0;}
+ std::map<uint64_t, BasicBlock*>::const_iterator beginBasicBlocks();
+ std::map<uint64_t, BasicBlock*>::const_iterator endBasicBlocks();
+
+
+ Interpreter* getInterpreter(const std::string& name);
+ bool hasInterpreters() const {return interpreters.size() != 0;}
+ std::map<std::string, Interpreter*>::const_iterator beginInterpreters();
+ std::map<std::string, Interpreter*>::const_iterator endInterpreters();
+
+
+ /* Protocoll:
+ *
+ * Users may allocate new Data containers with the new*()
+ * functions. Once they have populated the information they hand
+ * over the object to the information manager using the finish*()
+ * functions.
+ *
+ * if new*() returns NULL there already exists a function at the
+ * specified address. Users may then get the old object if they
+ * wish or (more likely) skip creating it. Uniqueness of the
+ * object is only guaranteed as compared to the finish()ed
+ * objects.
+ *
+ * Users are responsible for destroying functions iff they do not
+ * finish them using the delete*() functions. Once the objects are
+ * finished, the information manager is responsible for cleaning
+ * up the memory. If delete*() is called on a finished object, bad
+ * thingsmay happen.
+ */
+ Function* newFunction(uint64_t address);
+ BasicBlock* newBasicBlock(uint64_t address);
+ Comment* newGlobalComment(uint64_t address);
+ Comment* newLocalComment(uint64_t address, Function* f);
+ void finishFunction(Function* f);
+ void finishBasicBlock(BasicBlock* b);
+ void finnishComment(Comment* c);
+ void deleteFunction(Function* f);
+ void deleteBasicBlock(BasicBlock* b);
+ void deleteComment(Comment* c);
+