Azathothas / Toolpacks

Official (pkgforge-edge) Repo 📦📀 & The Largest Collection of Pre-Compiled (+ UPXed) Linux Static Binaries (incl. Build Scripts) & Package Manager (rust) :: https://github.com/pkgforge/soar
https://bin.pkgforge.dev/
MIT License
151 stars 16 forks source link

Request: bpftrace (& related tools) #30

Closed Azathothas closed 2 months ago

Azathothas commented 2 months ago

bpftrace: https://t.me/thcorg/25857/93770 https://t.me/thcorg/25857/93778

cc: @SkyperTHC

Azathothas commented 2 months ago

Existing bpftrace doesn't work: https://github.com/Azathothas/Toolpacks/blob/main/.github/scripts/aarch64_Linux/bins/bpftrace.sh https://github.com/Azathothas/Toolpacks/blob/main/.github/scripts/x86_64_Linux/bins/bpftrace.sh

https://t.me/thcorg/25857/94219 image

might have to ask @leleliu008 for yet another favour...

leleliu008 commented 2 months ago

I will dig into it.

leleliu008 commented 2 months ago

bpftrace is not supposed to be built as a fully statically linked executable.

Reference: https://github.com/bpftrace/bpftrace/issues/266

https://github.com/bpftrace/bpftrace/blob/master/.github/include/static.sh This shell script build a mostly statically linked executable rather than a fully statically linked executable.

Official provides AppImage format. That's the best choice.

Azathothas commented 2 months ago

I see. Thanks for looking into it.