burrowers / garble

Obfuscate Go builds
BSD 3-Clause "New" or "Revised" License
3.73k stars 239 forks source link

add trash block generator #825

Closed pagran closed 6 months ago

pagran commented 6 months ago

Controversial point - a separate test file for trash generator. I did it for simplifying coverage estimation (now 92.5%), what I think is important because a lot of variations of trash code can be generated by algorithm.

Docs for users in next pullrequest

pagran commented 6 months ago

Trash code example (1024 stmts): https://go.godbolt.org/z/1WE9MT898 (from 52 line)

mvdan commented 5 months ago

Docs for users in next pullrequest

@pagran did you mean to send this PR? I'm looking at doing another release, but I think this new trash block generator isn't documented yet.