| 645 | |
| 646 | |
| 647 | DWORD 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 | |
| 660 | bool PeParser::savePeFileToDisk( const WCHAR * newFile ) |
| 661 | { |
nothing calls this directly
no outgoing calls
no test coverage detected