CodeView: Set Symbol Size added

This commit is contained in:
Sepalani committed 2017-05-06 13:18:00 +01:00
1 parent 252bb4471d
commit 7f552581e7
3 files changed
+36

No files matched your search

+9
View File
@@ -6,6 +6,7 @@
#include <queue>
#include <string>
#include "Common/Assert.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Common/StringUtil.h"
@@ -188,6 +189,14 @@ bool AnalyzeFunction(u32 startAddr, Symbol& func, int max_size)
}
}
bool ReanalyzeFunction(u32 start_addr, Symbol& func, int max_size)
{
_assert_msg_(OSHLE, func.analyzed, "The function wasn't previously analyzed!");
func.analyzed = false;
return AnalyzeFunction(start_addr, func, max_size);
}
// Second pass analysis, done after the first pass is done for all functions
// so we have more information to work with
static void AnalyzeFunction2(Symbol* func)
+1
View File
@@ -231,5 +231,6 @@ public:
void LogFunctionCall(u32 addr);
void FindFunctions(u32 startAddr, u32 endAddr, PPCSymbolDB* func_db);
bool AnalyzeFunction(u32 startAddr, Symbol& func, int max_size = 0);
bool ReanalyzeFunction(u32 start_addr, Symbol& func, int max_size = 0);
} // namespace