Search
Friday, 27th of April 2018, 9:01:07 UTC
12:29:50
flip214
during ELS there was a lightning talk mentioning "disassemble all and reassemble via eg. GNU as".
12:30:27
flip214
How would I do that? Just looking at all FBOUND symbols isn't enough - I'd be missing anonymous functions, closures, and all the data structures.
12:30:35
flip214
can anybody enlight me, please?
12:36:14
phoe
flip214: the slides are up, maybe they have some material
13:13:12
Lord_Nightmare2
** NICK Lord_Nightmare
15:42:37
Xof
flip214: I think "make shrinkwrap"
15:42:57
Xof
but it involves some build-time option
18:33:20
flip214
make: *** No rule to make target 'shrinkwrap'. Stop.
18:33:54
flip214
and I'd hope that it's possible to include some other systems, and a main function.... just like SAVE-IMAGE-AND-DIE
18:34:03
flip214
but thanks for the hints
18:44:48
flip214
oh, there's a shrinkwrap-sbcl: target in src/runtime
18:47:31
flip214
but the shrinkwrap-sbcl.s isn't really readable assembler
18:48:33
flip214
and the resulting binary just gives me CORRUPTION WARNING in SBCL pid 12054(tid 0x7ffff7fb8080):
18:48:43
flip214
b45cf9c72a1bc72119c7c7449cbe0166adfbb62a
18:51:33
flip214
https://pastebin.com/xc7cjTgM for a small example of the asm output
Friday, 27th of April 2018, 21:01:07 UTC