About the inability to encrypt statically compiled files in Linux

Issues related to VMProtect
Post Reply
damn
Posts: 2
Joined: Mon Jul 29, 2024 2:55 pm

About the inability to encrypt statically compiled files in Linux

Post 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
Admin
Site Admin
Posts: 2686
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

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

Post 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).
damn
Posts: 2
Joined: Mon Jul 29, 2024 2:55 pm

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

Post 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.
Admin
Site Admin
Posts: 2686
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

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

Post by Admin »

Fixed in the 2138 build.
Post Reply