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.
It assumes that reflect.Value has a field named "flag", which wasn't the case with obfuscated builds as we obfuscated it. We already treated the reflect package as special, for instance when not obfuscating Method or MethodByName. In a similar fashion, mark reflect's rtype and Value types to not be obfuscated alongside their field names. Note that rtype is the implementation behind the reflect.Type interface. This fix is fairly manual and repetitive. transformCompile, transformLinkname, and transformAsm should all use the same mechanism to tell if names should be obfuscated. However, they do not do that right now, and that refactor feels too risky for a bugfix release. We add more TODOs instead. We're not adding go-spew to scripts/check-third-party.sh since the project is largely abandoned. It's not even a Go module yet. The only broken bit from it is what we've added to our tests. Fixes #676. |
2 years ago | |
---|---|---|
.. | ||
bench | 3 years ago | |
mod | 3 years ago | |
script | 2 years ago |