Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Instruction Pointer Pin
Stephen Hewitt12-Jun-07 20:54
Stephen Hewitt12-Jun-07 20:54 
AnswerRe: Instruction Pointer Pin
Rajkumar R12-Jun-07 21:43
Rajkumar R12-Jun-07 21:43 
GeneralRe: Instruction Pointer Pin
Stephen Hewitt12-Jun-07 22:11
Stephen Hewitt12-Jun-07 22:11 
GeneralRe: Instruction Pointer Pin
Rajkumar R12-Jun-07 22:21
Rajkumar R12-Jun-07 22:21 
GeneralRe: Instruction Pointer Pin
Stephen Hewitt12-Jun-07 22:24
Stephen Hewitt12-Jun-07 22:24 
GeneralRe: Instruction Pointer Pin
Rajkumar R12-Jun-07 22:33
Rajkumar R12-Jun-07 22:33 
GeneralRe: Instruction Pointer Pin
Stephen Hewitt12-Jun-07 22:40
Stephen Hewitt12-Jun-07 22:40 
GeneralRe: Instruction Pointer Pin
Rajkumar R12-Jun-07 22:50
Rajkumar R12-Jun-07 22:50 
void main(){	<br />
004114B0  push        ebp  <br />
004114B1  mov         ebp,esp <br />
004114B3  sub         esp,0CCh <br />
004114B9  push        ebx  <br />
004114BA  push        esi  <br />
004114BB  push        edi  <br />
004114BC  lea         edi,[ebp-0CCh] <br />
004114C2  mov         ecx,33h <br />
004114C7  mov         eax,0CCCCCCCCh <br />
004114CC  rep stos    dword ptr es:[edi] <br />
	typedef void (*PFun_t)(); <br />
	// Function pointer.	<br />
	PFun_t pFun = NULL;	// Set it to NULL. <br />
004114CE  mov         dword ptr [pFun],0 <br />
		(*pFun)();<br />
004114D5  mov         esi,esp <br />
004114D7  call        dword ptr [pFun] <br />
004114DA  cmp         esi,esp <br />
004114DC  call        @ILT+410(__RTC_CheckEsp) (41119Fh) <br />
}<br />
004114E1  xor         eax,eax <br />
004114E3  pop         edi  <br />
004114E4  pop         esi  <br />
004114E5  pop         ebx  <br />
004114E6  add         esp,0CCh <br />
004114EC  cmp         ebp,esp <br />
004114EE  call        @ILT+410(__RTC_CheckEsp) (41119Fh) <br />
004114F3  mov         esp,ebp <br />
004114F5  pop         ebp  <br />
004114F6  ret      

GeneralRe: Instruction Pointer Pin
Stephen Hewitt13-Jun-07 13:19
Stephen Hewitt13-Jun-07 13:19 
AnswerRe: Instruction Pointer Pin
Rajkumar R13-Jun-07 18:51
Rajkumar R13-Jun-07 18:51 
GeneralRe: Instruction Pointer Pin
Stephen Hewitt13-Jun-07 18:54
Stephen Hewitt13-Jun-07 18:54 
AnswerRe: Instruction Pointer Pin
Rajkumar R13-Jun-07 19:50
Rajkumar R13-Jun-07 19:50 
QuestionDebugging Pin
tom groezer12-Jun-07 16:58
tom groezer12-Jun-07 16:58 
AnswerRe: Debugging Pin
Xing Chen12-Jun-07 17:28
Xing Chen12-Jun-07 17:28 
GeneralRe: Debugging Pin
tom groezer12-Jun-07 17:33
tom groezer12-Jun-07 17:33 
GeneralRe: Debugging Pin
Xing Chen12-Jun-07 17:46
Xing Chen12-Jun-07 17:46 
AnswerRe: Debugging Pin
Sarath C12-Jun-07 17:36
Sarath C12-Jun-07 17:36 
QuestionLinks to tutorials Pin
tom groezer12-Jun-07 16:48
tom groezer12-Jun-07 16:48 
AnswerRe: Pointers Pin
Christian Graus12-Jun-07 16:57
protectorChristian Graus12-Jun-07 16:57 
AnswerRe: Links to tutorials Pin
Naveen12-Jun-07 18:00
Naveen12-Jun-07 18:00 
QuestionDll protection Pin
tom groezer12-Jun-07 15:42
tom groezer12-Jun-07 15:42 
AnswerRe: Dll protection Pin
Sathesh Sakthivel12-Jun-07 15:48
Sathesh Sakthivel12-Jun-07 15:48 
AnswerRe: Dll protection Pin
Christian Graus12-Jun-07 16:58
protectorChristian Graus12-Jun-07 16:58 
GeneralRe: Dll protection Pin
tom groezer12-Jun-07 17:01
tom groezer12-Jun-07 17:01 
AnswerRe: Dll protection Pin
Stephen Hewitt12-Jun-07 19:28
Stephen Hewitt12-Jun-07 19:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.