Public Methods | |
| CheckRef () | |
| void | operator() (const IstrReference &ref) |
Public Attributes | |
| int | count |
|
|
Definition at line 73 of file codeprn.cpp. References count.
00073 :count(0) {}; |
|
|
Definition at line 74 of file codeprn.cpp. References count, IstrReference::direct, FLOW_CALL, FLOW_CJUMP, FLOW_JUMP, StartBeginComment(), StartComment(), IstrReference::to, and IstrReference::type.
00075 {
00076 if (!ref.direct)
00077 {
00078 if (count==0)
00079 {
00080 StartBeginComment();
00081 printf("Referenced by a (U)nconditional or (C)onditional Jump "
00082 "or (c)all at Address:");
00083 }
00084 char type = '?';
00085 switch(ref.type)
00086 {
00087 case FLOW_CALL: type = 'c'; break;
00088 case FLOW_JUMP: type = 'U'; break;
00089 case FLOW_CJUMP: type = 'C'; break;
00090 }
00091 if ( (count%4) == 0 )
00092 StartComment();
00093 else
00094 printf(",");
00095 printf(" %08X(%c)",ref.to,type);
00096 ++count;
00097 }
00098 }
|
|
|
Definition at line 99 of file codeprn.cpp. Referenced by CheckRef(), and operator()(). |
1.2.15