Skip to content

Commit

Permalink
Update gabh.go
Browse files Browse the repository at this point in the history
  • Loading branch information
timwhitez authored Jun 23, 2022
1 parent 51dfa39 commit 2edb11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/Gabh/gabh.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func MemFuncPtr(moduleName string, funcnamehash string, hash func(string) string
return uint64(exp.VirtualAddress), exp.Name, nil
}
}
return 0, "", fmt.Errorf("could not find function!!! ")
return DiskFuncPtr(moduleName, funcnamehash, hash)
}

//DiskFuncPtr returns a pointer to the function (Virtual Address)
Expand Down

0 comments on commit 2edb11a

Please sign in to comment.