Skip to content

Commit

Permalink
exclude some compilerr SEH symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSapps committed Jun 27, 2020
1 parent 8e30963 commit 06226bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion AliveHookManager/LinkerMapParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
Expand Down

0 comments on commit 06226bb

Please sign in to comment.