Flag: Tornado! Hurricane!

Blogs >> RolfRolles's Blog

Created: Monday, March 8 2010 15:45.22 CST  
Printer Friendly ...
Compiler Optimizations for Reverse Engineers
Author: RolfRolles # Views: 18091

I've decided to release the part of my training material relating to compiler optimizations.  I created this back in January of 2007; for a while I was teaching classes very often, and so it made sense to keep it private.  Nowadays I only teach a few classes a year, and so this presentation is sort of languishing away on my hard drive, which is a shame since it's my favorite part.  I think people will enjoy reading it, so I have decided to make it public.

Since I made this in early 2007, it lacks some of GCC 4's optimizations, and from time to time I realize that I forgot an optimization or two.  But for the most part, it's fairly complete.  If you have any specific suggestions for optimizations that I missed, please either email me or respond via comment with a link to a binary exhibiting said optimization and the address at which I can find it.  Proper compiler-theoretic names for the optimizations, if applicable, are also appreciated.

Here it is.  Enjoy.


Blog Comments
cliffwolf Posted: Monday, March 8 2010 21:18.51 CST
It's pretty useful for me! Thank you for your sharing!

bughoho Posted: Tuesday, March 9 2010 04:24.52 CST
thanks for share! :)

Orr Posted: Wednesday, March 10 2010 03:44.48 CST
Thanks Rolf, always a treat :)

wildinto Posted: Wednesday, March 10 2010 06:52.01 CST
thanks very much!

Boken Posted: Friday, March 12 2010 05:04.36 CST
Thanks you very much, it is a great job!!

I'm waiting the following post ;D

Regards!

RabidCicada Posted: Tuesday, March 23 2010 12:19.21 CDT
Rolf,
Thanks tremendously.  I really enjoyed reading through your slides and really appreciate the sharing of knowledge.  I just gave an RE primer to some co-workers and this is a great resource to talk about the challenges optimizations cause when REing.

huku Posted: Monday, March 29 2010 10:58.08 CDT
It was an excellent read with very nice examples, thanks for sharing. Btw, here's another pdf for those interested in compiler optimizations: http://www.linux-kongress.org/2009/slides/compiler_survey_felix_von_leitner.pdf



Add New Comment
Comment:









There are 29,884 total registered users.


Recently Created Topics
Incorrect bitness wh...
May/20
PaiMei stalker modul...
May/19
Attach to program us...
May/13
IDA PRO how to make ...
May/12
FACT: OpenRCE is dead.
May/08
Int 3 anti debug?
May/05
help needed - Beginn...
May/03
Attaching IDA Pro to...
Apr/27
File type
Apr/21
Debugging iphone app...
Apr/15


Recent Forum Posts
Debugging iphone app...
staree2010
Ollydbg 2.0 - Plugin...
openrce...
IDA PRO how to make ...
codeinject
FACT: OpenRCE is dead.
codeinject
IDA Resource Viewer ...
r2x64
FACT: OpenRCE is dead.
djnemo
FACT: OpenRCE is dead.
codeinject
FACT: OpenRCE is dead.
pedram
help needed - Beginn...
araujo
Attaching IDA Pro to...
codeinject


Recent Blog Entries
sweetyss
May/18
Adam Wainwright continues t...

lowpriority
Apr/13
OllyMigrate Plugin for Olly...

everdox
Mar/08
2 anti-trace mechanisms spe...

everdox
Mar/07
Advanced debugging techniques

everdox
Mar/06
Branch tracing and LBR acce...

More ...


Recent Blog Comments
clarisonic on:
Apr/03
New version of Ollydbg!

clarisonic on:
Apr/03
New version of Ollydbg!

trackerx90 on:
Mar/04
SuppressDebugMsg As Anti-De...

coachfactory on:
Feb/25
Portable Executable Format ...

coachfactory on:
Feb/25
A new Anti-Olly trick.

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit