Menu

#243 UPX 3.91w breaks Common Lisp executables

upx392
open
nobody
None
5
2015-08-17
2015-08-13
Cthulhux
No

I have the following setup:

  • Windows 10 64-bit with the Clozure CL Common Lisp compiler
  • This Common Lisp script:

(defun main () (princ (* 2 3)))

Not much real code, just trying to make my way through it. Then I made an .exe file of it:

(save-application "test.exe" :toplevel-function #'main :prepend-kernel t)

Running test.exe has the expected result:

.\test.exe
6

However, UPX seems to destroy some structure here:

upx -9 .\test.exe
.\test.exe

No output. :-/

You might want to look into that.

Discussion

  • László Molnár

    Hi, did you also see this problem using an earlier windows version?

     
  • Cthulhux

    Cthulhux - 2015-08-14

    I can reproduce it on all Windows versions I have access to. I guess it's because of Lisp's data structures.

     
  • László Molnár

    Can you attach your test program here?

     
  • Cthulhux

    Cthulhux - 2015-08-15

    I attached the working and the non-working files.

     
  • László Molnár

    Thanks for your file. I'll try to look at it closer, when I have some time.

     
  • Cthulhux

    Cthulhux - 2015-08-17

    Great. Keep me updated then. :)

     

Log in to post a comment.