diff --git a/AliveHookManager/LinkerMapParser.cs b/AliveHookManager/LinkerMapParser.cs index 6bfefe8..17389d3 100644 --- a/AliveHookManager/LinkerMapParser.cs +++ b/AliveHookManager/LinkerMapParser.cs @@ -53,7 +53,9 @@ public void Parse(string linkMapText) string[] funcObjectSplit = funcSplit.Last().Split(':'); string functionObject = funcObjectSplit.Last().Split('.').First(); - if (funcObjectSplit.First().ToLower().Contains("alivelib")) + var lowerFunc = funcName.ToLower(); + var sym = funcObjectSplit.First().ToLower(); + if (sym.Contains("alivelib") && !lowerFunc.StartsWith("_unwind") && !lowerFunc.StartsWith("_ehhandler") && !lowerFunc.StartsWith("?__")) { Functions.Add(new LinkerMapFunction() { Name = funcName, Object = functionObject, Address = address }); }