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.
7c2866356f
One more package that further unblocks obfuscating the runtime. The issue was the TODO we already had about go:linkname directives with just one argument, which are used in the syscall package. While here, factor out the obfuscation of linkname directives into transformLinkname, as it was starting to get a bit complex. We now support debug logging as well, while still being able to use "early returns" for some cases where we bail out. We also need listPackage to treat all runtime sub-packages like it does runtime itself, as `runtime/internal/syscall` linknames into `syscall` without it being a dependency as well. Finally, add a regression test that, without the fix, properly spots that the syscall package was not obfuscated: FAIL: testdata/script/gogarble.txtar:41: unexpected match for ["syscall.RawSyscall6"] in out Updates #193. |
2 years ago | |
---|---|---|
.. | ||
bench | 2 years ago | |
mod | 2 years ago | |
script | 2 years ago |