GHC 2020-11-28

2 comments.

, https://git.io/JkFCG in zmwangx/mDNSSupervisor
Btw here's what lldb thinks:

```console
$ lldb mDNSSupervisor
(lldb) target create "mDNSSupervisor"
Current executable set to '/tmp/mDNSSupervisor' (x86_64).
(lldb) run
error: Bad executable (or shared library)
```

, https://git.io/JkFCZ in zmwangx/mDNSSupervisor
Executable doesn't work when packed with upx
============================================

https://github.com/zmwangx/mDNSSupervisor/releases/download/v0.1/mDNSSupervisor 4834984 bytes is a bit on the fat side. Packing it with upx, as I always do when I distribute Go binaries, reduces it to 1900560 bytes, but then the packed executable simply doesn't work:

```console
$ ./mDNSSupervisor; echo $?
[1]    8510 killed     ./mDNSSupervisor
137
```

so it's killed by SIGKILL (137=128+9), but how? No idea.

No interest in further investigation, just documenting it.

```console
$ upx --version
upx 3.96
UCL data compression library 1.03
zlib data compression library 1.2.11
LZMA SDK version 4.43
...
```