View Single Post
  #1  
Old 06-04-2007, 19:48
WaSt3d_ByTes WaSt3d_ByTes is offline
Friend
 
Join Date: Jul 2006
Posts: 60
Rept. Given: 10
Rept. Rcvd 11 Times in 4 Posts
Thanks Given: 42
Thanks Rcvd at 14 Times in 8 Posts
WaSt3d_ByTes Reputation: 11
June 03, 2007 - OllyDBG 2.0 Development Update

The progress in the last two weeks is enormous. List of Extremely Important Things To Do got five items shorter. But news of this kind are roughly equivalent to the summer headlines in the newspapers; now I want to tell you something different.

While testing MinGW compiler, I wrote a small console application:

int main() {
MessageBox(NULL,"I'm a little, little code in a big, big world... Hello, world!",
"Hello, world",MB_OK);
return 0;
}

Highly optimized release version of this code looks this way:

http://ollydbg.de/Pics/helloworld.gif

MinGW reserves space on the stack and moves arguments instead of pushing. But note the following: The order of arguments for MessageBox() is hOwner, Text, Caption, Type. MinGW has changed this order; still, OllyDbg 2 was able to recognize the arguments.

MinGW (in fact, GNU) is an excellent compiler, its only weakness is that many exotic APIs are not yet in the headers.

That's all for this time, bye!
Reply With Quote