'panic: invalid argument to Intn'. Golang
My friend sent me his private binary built in Go, but when I tried to run it, I got the error: 'panic: invalid argument to Intn'. I need some help with this. Thanks.
P.S.: I didn't encounter any relevant issues when running it on the terminal (adb shell), su -c...
3 Replies
As Go is a compile language there is no way to debug runtime errors in a compiled binary executable without access to the source code.
What is the best choice I can make now?
You can't do anything about this if your friend is not willing to share their source code.
And even if you had that, you'd still need to debug the issue which would require some knowledge of Go.