Function listing and selection.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#ifndef ALLOY_RUNTIME_MODULE_H_
|
||||
#define ALLOY_RUNTIME_MODULE_H_
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <alloy/core.h>
|
||||
#include <alloy/memory.h>
|
||||
#include <alloy/runtime/symbol_info.h>
|
||||
@@ -41,6 +43,8 @@ public:
|
||||
SymbolInfo::Status DefineFunction(FunctionInfo* symbol_info);
|
||||
SymbolInfo::Status DefineVariable(VariableInfo* symbol_info);
|
||||
|
||||
void ForEachFunction(std::function<void (FunctionInfo*)> callback);
|
||||
|
||||
private:
|
||||
SymbolInfo::Status DeclareSymbol(
|
||||
SymbolInfo::Type type, uint64_t address, SymbolInfo** out_symbol_info);
|
||||
|
||||
Reference in New Issue
Block a user