Jump to content
Tuts 4 You
Sign in to follow this  
Aldhard Oswine

C/C++ into assembly code

Recommended Posts

Aldhard Oswine

Is there any book or articles about how C/C++ code is translated into assembly code?

like how classes or structs, pointers, etc. are translated into an assembly code

Share this post


Link to post
hakouabs

just using ollydbg or ida

Share this post


Link to post
crystalboy

The thing that you are looking for is the work 'behind the scene' of a compiler.

There are a lot of resource for that, one of the most famous known as dragon book: Compilers: Principles, Techniques, and Tools

Also universities free resources are available like: Basics of Compiler Design and Let's Build a Compiler

You can find thousand of papers on Google.

The faster way to learn is obviously to grab an IDE and code yourself what you would like to see in ASM representation and compile it. :)



 

  • Like 2

Share this post


Link to post
Aldhard Oswine

Thanks, guyes. I'm using disassembler and it's the great way to learn but a book is also very helpful.
 "Compilers: Principles, Techniques, and Tools" looks like great. Thanks again.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×
×
  • Create New...