Daniel Martí
e08dd99c1e
introduce a binary grep command for the tests
...
The problem with the "grep" built-in command is that it prints the
entire data if there is an error. We don't want megabytes of binary
output for a test.
2019-12-09 12:21:48 +00:00
Daniel Martí
c19a41c882
README: add build instructions
...
The import path works now too.
2019-12-09 10:23:01 +00:00
Daniel Martí
3f7e8add01
README: add a standard library caveat
2019-12-09 10:20:23 +00:00
Daniel Martí
bd13893d65
README: forgot to finish a sentence
2019-12-09 10:13:22 +00:00
Daniel Martí
522e0d8345
add README
2019-12-09 10:09:27 +00:00
Daniel Martí
63cbc01628
support anonymous fields better
2019-12-08 22:57:36 +00:00
Daniel Martí
a87002e662
don't break types implementing interfaces
2019-12-08 22:44:56 +00:00
Daniel Martí
3f35fb07f2
remove module info from the resulting binary
2019-12-08 21:32:37 +00:00
Daniel Martí
33f2a4bc2e
remove all unnecessary empty lines from garbled Go
2019-12-08 21:21:18 +00:00
Daniel Martí
aba66758ca
support type switches with symbolic vars
2019-12-08 21:18:31 +00:00
Daniel Martí
766bb47b82
support std imports
2019-12-08 20:18:52 +00:00
Daniel Martí
1fe0351517
garbling imported packages starts being supported
2019-12-08 19:59:44 +00:00
Daniel Martí
764af03e89
introduce 'garble build' shortcut
...
This way, the user doesn't need to remember to use flags like -a and
-trimpath. Also because we might need more 'go build' flags in the
future.
2019-12-08 18:15:10 +00:00
Daniel Martí
63f58242fb
move garble binary setup with $PATH to Setup
...
This way, it's ready for multiple scripts.
2019-12-08 18:03:52 +00:00
Daniel Martí
8119fa0e62
use readelf in a way that it prints less output
2019-12-08 17:48:40 +00:00
Daniel Martí
f4e356ab13
start hashing identifiers
2019-12-08 17:37:46 +00:00
Daniel Martí
f47c12caba
add a bit more docs
2019-12-08 16:24:49 +00:00
Daniel Martí
a670f80fe9
error if the user forgot -trimpath
2019-12-08 13:12:45 +00:00
Daniel Martí
f81b92a0fa
start enforcing the link flags -w -s
2019-12-08 13:00:12 +00:00
Daniel Martí
f5f72ef626
initial commit
2019-12-08 11:52:40 +00:00