Calling C/C++ function from ASM code

Topics on common programming languages

Calling C/C++ function from ASM code

Postby Neo » Fri Oct 02, 2009 12:19 pm

User avatar
Neo
Site Admin
Site Admin
 
Posts: 2613
Joined: Tue Jul 14, 2009 8:37 pm
Cash on hand: 221,227.50
Bank: 15,536,454.00
Location: Colombo/London
Medals: 2
EC_Bronze_Star (1) EC_Achievment (1)

Invitations sent: 94
Registered friends: 12
Highscores: 13
Reputation point: 74
Lieutenant

Re: Calling C/C++ function from ASM code

Postby Herath » Tue Aug 10, 2010 4:47 pm

I have seen programs Pushing parameters in to the stack before calling a function. (While disassembling little executable files.) . I am taking about x86 assembly.
User avatar
Herath
Support Team
Support Team
 
Posts: 433
Joined: Thu Aug 05, 2010 1:39 pm
Cash on hand: 1,893.30
Bank: 96,267.80
Medals: 1
EC_Achievment (1)

Invitations sent: 1
Registered friends: 0
Highscores: 6
Reputation point: 11
Corporal

Re: Calling C/C++ function from ASM code

Postby Neo » Tue Aug 10, 2010 6:15 pm

User avatar
Neo
Site Admin
Site Admin
 
Posts: 2613
Joined: Tue Jul 14, 2009 8:37 pm
Cash on hand: 221,227.50
Bank: 15,536,454.00
Location: Colombo/London
Medals: 2
EC_Bronze_Star (1) EC_Achievment (1)

Invitations sent: 94
Registered friends: 12
Highscores: 13
Reputation point: 74
Lieutenant

Re: Calling C/C++ function from ASM code

Postby Herath » Tue Aug 10, 2010 6:25 pm

Wow!. You seems to be great at asm. I like to learn that too. I know a bit. But I like to go further. There is no end to it!

Thank you for the explanation. I used to practice reverse engineering of software when I was home after A/Levels. I just had a memory of it. :)
User avatar
Herath
Support Team
Support Team
 
Posts: 433
Joined: Thu Aug 05, 2010 1:39 pm
Cash on hand: 1,893.30
Bank: 96,267.80
Medals: 1
EC_Achievment (1)

Invitations sent: 1
Registered friends: 0
Highscores: 6
Reputation point: 11
Corporal


Return to .Net & Other Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron