jpillora / jpillora/chisel

Enable PIE build

Open
#186 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
16.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to enable PIE builds for the chisel releases?
Since Go version 1.15, PIE builds are supported for Windows executables.
That makes it easier for chisel builds to run reflectively from memory.
GOOS=windows GOARCH=amd64 go build -buildmode=pie -v github.com/jpillora/chisel seems to build without issues.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the release build configuration or scripts for Windows executables and compare them with the Go command shown in the issue. Verify whether Go 1.15 or newer is required, then confirm that released Windows builds use PIE and that the example command completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.