You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Changes literal obfuscation such that literals of any size will be obfuscated, but beyond `maxSize` we only use the `simple` obfuscator. This one seems to apply AND, OR, or XOR operators byte-wise and should be safe to use, unlike some of the other obfuscators which are quadratic on the literal size or worse. The test for literals is changed a bit to verify that obfuscation is applied. The code written to the `extra_literals.go` file by the test helper now ensures that Go does not optimize the literals away when we build the binary. We also append a unique string to all literals so that we can test that an unobfuscated build contains this string while an obfuscated build does not. |
3 years ago | |
|---|---|---|
| .. | ||
| asm.txtar | 3 years ago | |
| atomic.txtar | 3 years ago | |
| basic.txtar | 3 years ago | |
| cgo.txtar | 3 years ago | |
| crossbuild.txtar | 3 years ago | |
| debugdir.txtar | 3 years ago | |
| embed.txtar | 3 years ago | |
| goenv.txtar | 3 years ago | |
| gogarble.txtar | 3 years ago | |
| goversion.txtar | 3 years ago | |
| help.txtar | 3 years ago | |
| implement.txtar | 3 years ago | |
| imports.txtar | 3 years ago | |
| init.txtar | 3 years ago | |
| ldflags.txtar | 3 years ago | |
| linker.txtar | 3 years ago | |
| linkname.txtar | 3 years ago | |
| list_error.txtar | 3 years ago | |
| literals.txtar | 3 years ago | |
| modinfo.txtar | 3 years ago | |
| plugin.txtar | 3 years ago | |
| position.txtar | 3 years ago | |
| reflect.txtar | 3 years ago | |
| reverse.txtar | 3 years ago | |
| run.txtar | 3 years ago | |
| seed-cache.txtar | 3 years ago | |
| seed.txtar | 3 years ago | |
| syntax.txtar | 3 years ago | |
| test.txtar | 3 years ago | |
| tiny.txtar | 3 years ago | |
| typeparams.txtar | 3 years ago | |