MCPcopy Create free account
hub / github.com/NtQuery/Scylla / addModuleAddressCommentEntry

Method addModuleAddressCommentEntry

Scylla/DisassemblerGui.cpp:427–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427void 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
445void DisassemblerGui::analyzeAddress( DWORD_PTR address, WCHAR * comment )
446{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected