Page 1 of 1

About the inability to encrypt statically compiled files in Linux

Posted: Mon Jul 29, 2024 3:04 pm
by damn
I used golang to compile the binary file, but it prompted me: "file golangfile has an unsupported subsystemp"

My compilation syntax is

Code: Select all

export CGO_ENABLED=1
export GOOS=linux
export GOARCH=amd64
export CC=/usr/local/musl/bin/musl-gcc

go build -ldflags '-w -s -extldflags "-static" -buildid=' -o golang-Linux-x64 main.go

Re: About the inability to encrypt statically compiled files in Linux

Posted: Thu Aug 01, 2024 5:16 am
by Admin
Unfortunatrelty VMProtect doesn't support Linux binaries without import table (Golang uses direct SYSCALLs for calling of APis instead of calling of imported APIs from DLLs).

Re: About the inability to encrypt statically compiled files in Linux

Posted: Thu Aug 01, 2024 2:17 pm
by damn
OK, thank you for your answer. Do you have any plans to support this feature in the future? Because statically compiled programs are more common.

Re: About the inability to encrypt statically compiled files in Linux

Posted: Mon Aug 12, 2024 8:17 am
by Admin
Fixed in the 2138 build.