Thread: ida makestruct
View Single Post
  #1  
Old 06-17-2004, 08:45
nino nino is offline
Friend
 
Join Date: Jan 2002
Posts: 58
Rept. Given: 0
Rept. Rcvd 2 Times in 1 Post
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
nino Reputation: 2
ida makestruct

Hi,
I wonder if someone has a solution for this strange behavior in ida. When you use MakeStruct to create an instance of a structure which contains a string as a last member (zero-length of course since string is not known beforehand), the string field is never included in the structure. If it's already a string MakeStruct fails and if it's undefined it's left out. But if you use IDA toolbar for declaring a structure field it's created ok. Shouldn't it use MakeStruct internally?
Reply With Quote