Debian Codegraph @

src/debug/buildinfo/testdata/notgo/README.md

raw
1 notgo.base64 is a base64-encoded C hello world binary used to test
2 debug/buildinfo errors on non-Go binaries.
3
4 The binary is base64 encoded to hide it from security scanners that might not
5 like it.
6
7 Generate notgo.base64 on linux-amd64 with:
8
9 $ cc -o notgo main.c
10 $ base64 notgo > notgo.base64
11 $ rm notgo
12
13 The current binary was built with "gcc version 14.2.0 (Debian 14.2.0-3+build4)".
14
15 TODO(prattmic): Ideally this would be built on the fly to better cover all
16 executable formats, but then we need to encode the intricacies of calling each
17 platform's C compiler.