tree: 8c30e751a70b90fcb8ebc538a041710b155374d7 [path history] [tgz]
  1. main.c
  2. notgo.base64
  3. README.md
src/debug/buildinfo/testdata/notgo/README.md

notgo.base64 is a base64-encoded C hello world binary used to test debug/buildinfo errors on non-Go binaries.

The binary is base64 encoded to hide it from security scanners that might not like it.

Generate notgo.base64 on linux-amd64 with:

$ cc -o notgo main.c $ base64 notgo > notgo.base64 $ rm notgo

The current binary was built with “gcc version 14.2.0 (Debian 14.2.0-3+build4)”.

TODO(prattmic): Ideally this would be built on the fly to better cover all executable formats, but then we need to encode the intricacies of calling each platform's C compiler.