NativeDump icon indicating copy to clipboard operation
NativeDump copied to clipboard

'out of range' error during execution for Go branch on Windows11

Open royaliceblue opened this issue 9 months ago • 1 comments

Expected vs Actual Behavior

'out of range' error happens when executing the binary.

Specifications

Microsoft Windows 11 Pro 24H2 10.0.26100 N/A Build 26100

Go binary compiled on Amd64 Kali Linux.

royaliceblue avatar May 24 '25 15:05 royaliceblue

Hello @royaliceblue . What command did you use for cross-compiling the binary? What AV is installed in your Windows 11 machine?

ricardojoserf avatar May 25 '25 09:05 ricardojoserf

Hi @ricardojoserf ! These are the commands I used when cross-compiling the Go branch

go mod init nativedump

go mod tidy

env GOOS=windows GOARCH=amd64 go build nativedump.go

royaliceblue avatar May 25 '25 14:05 royaliceblue

Hello @royaliceblue , I tested the commands to generate a binary on Linux and it works in my Windows 11 VM, I am updating it in case this is not working in the latest versions. You can find the file here: https://mega.nz/folder/hlMHkQzB#s94r930qFWSmTyaAi8L-bA

Image

I dont have a Windows 11 Pro so please let me know if it works with the files I uploaded to Mega

ricardojoserf avatar May 26 '25 12:05 ricardojoserf

Hi @ricardojoserf , thank you so much for providing the executables. Please look at the results below when ran on Windows 11 Pro with go_nativedump.exe

Image

royaliceblue avatar May 28 '25 04:05 royaliceblue

Hi @royaliceblue , I think this is working for you now. If not let me know so I reopen it!

ricardojoserf avatar May 30 '25 15:05 ricardojoserf