Jump to content
Sign in to follow this  
Valik

Upx Fix Thingy, How Does It Work?

Recommended Posts

Valik

How does the UPX fix work? What are the specifics to it? I thought it was an empty function in a static library which is linked against and that function called. What am I missing? Are there compiler/linker settings I need to change, too? :whistle:

I need a single threaded version of the lib for a program I wrote. I've always just used --force, but since Jon figured out how to fix this problem, I was going to try that, but the lib is multi-threaded (It still works, but I'm right back to why I don't want to --force it, it complains and _could_ cause problems at some point).

Share this post


Link to post
Share on other sites
Valik

Thanks Jon. Compiling with VC 6 was the one other thing I thought of and didn't mention because its also the one thing I couldn't do. I just linked my program against the library you sent me and all is good.

Share this post


Link to post
Share on other sites
Valik

Use linker option:

/SAFESEH:NO

Problem solved, no VC6 library needed. I found this on the UPX forum.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×