| 425 | } |
| 426 | |
| 427 | void DisassemblerGui::addModuleAddressCommentEntry( DWORD_PTR address, DWORD moduleSize, const WCHAR * modulePath ) |
| 428 | { |
| 429 | DisassemblerAddressComment commentObj; |
| 430 | //get filename |
| 431 | const WCHAR* slash = wcsrchr(modulePath, L'\\'); |
| 432 | if(slash) |
| 433 | { |
| 434 | modulePath = slash+1; |
| 435 | } |
| 436 | |
| 437 | wcscpy_s(commentObj.comment, _countof(commentObj.comment), modulePath); |
| 438 | commentObj.address = address; |
| 439 | commentObj.type = ADDRESS_TYPE_MODULE; |
| 440 | commentObj.moduleSize = moduleSize; |
| 441 | |
| 442 | addressCommentList.push_back(commentObj); |
| 443 | } |
| 444 | |
| 445 | void DisassemblerGui::analyzeAddress( DWORD_PTR address, WCHAR * comment ) |
| 446 | { |
nothing calls this directly
no outgoing calls
no test coverage detected