Thread: Help with TLS
View Single Post
  #1  
Old 02-09-2005, 01:08
bedrock's Avatar
bedrock bedrock is offline
Friend
 
Join Date: May 2002
Posts: 96
Rept. Given: 8
Rept. Rcvd 5 Times in 2 Posts
Thanks Given: 20
Thanks Rcvd at 2 Times in 2 Posts
bedrock Reputation: 5
Help with TLS

I'm looking for some help/information on how to handle Thread Local Storage correctly from an exe packer. I have written a basic packer in C/C++ (no asm) and it is working with basic compression of code/data/resource sections etc.. but i am having problems supporting delphi apps due to TLS directory entries.

I have been trying to follow tutorial by bigboote, but it seems a little vague on exactly what i need to do to be able to support TLS correctly, and the really strange thing i have noticed is my compressed exe crash when i run, but when i try and debug in olly, it runs ok maybe olly is doing some support for TLS from the TLS directory in the PE header?

thanks

--
bedrock
Reply With Quote