| 180 | } |
| 181 | |
| 182 | DWORD PeParser::getEntryPoint() |
| 183 | { |
| 184 | if (isPE32()) |
| 185 | { |
| 186 | return pNTHeader32->OptionalHeader.AddressOfEntryPoint; |
| 187 | } |
| 188 | else if (isPE64()) |
| 189 | { |
| 190 | return pNTHeader64->OptionalHeader.AddressOfEntryPoint; |
| 191 | } |
| 192 | else |
| 193 | { |
| 194 | return 0; |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | bool PeParser::readPeHeaderFromProcess(bool readSectionHeaders) |
| 199 | { |
no outgoing calls
no test coverage detected