Go Back   Exetools > General > General Discussion


Thread Tools Display Modes
Old 09-23-2014, 21:20
Git's Avatar
Git Git is offline
Old Git
Join Date: Mar 2002
Location: Torino
Posts: 1,104
Rept. Given: 221
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 100
Thanks Rcvd at 218 Times in 124 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
IDA struct alignment

Anybody having problems with struct alignment in 6.5 ?. Loading a .h header file seems to ignore the setting of Options/Compiler/Default Alignment. I have tried #pragma pack(8) in front of the struct and also surrounded the struct with
#pragma pack(push, 8)
#pragma pop

It seems stuck on default packing whatever I do.

Reply With Quote
Old 09-24-2014, 01:42
DMichael's Avatar
DMichael DMichael is offline
Join Date: Apr 2012
Location: Israel
Posts: 199
Rept. Given: 139
Rept. Rcvd 281 Times in 72 Posts
Thanks Given: 13
Thanks Rcvd at 30 Times in 24 Posts
DMichael Reputation: 200-299 DMichael Reputation: 200-299 DMichael Reputation: 200-299
maybe there is some overwrite of the setting for example in the command line arguments (check it)
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
struct as local var in ida upb General Discussion 3 03-03-2005 17:29

All times are GMT +8. The time now is 10:58.

Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2021 )