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

Method isMemoryNotNull

Scylla/PeParser.cpp:647–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645
646
647DWORD PeParser::isMemoryNotNull( BYTE * data, int dataSize )
648{
649 for (int i = (dataSize - 1); i >= 0; i--)
650 {
651 if (data[i] != 0)
652 {
653 return i + 1;
654 }
655 }
656
657 return 0;
658}
659
660bool PeParser::savePeFileToDisk( const WCHAR * newFile )
661{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected