memmod: do not use IsBadReadPtr
It should be enough to check for the trailing zero name. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
0eb7206295
commit
497ba95de7
4 changed files with 1 additions and 61 deletions
|
|
@ -324,8 +324,6 @@ const (
|
|||
DLL_PROCESS_DETACH = 0
|
||||
)
|
||||
|
||||
//sys isBadReadPtr(addr uintptr, ucb uintptr) (ret bool) = kernel32.IsBadReadPtr
|
||||
|
||||
type SYSTEM_INFO struct {
|
||||
ProcessorArchitecture uint16
|
||||
Reserved uint16
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue