| 49 | } |
| 50 | |
| 51 | void ApiReader::parseModule(ModuleInfo *module) |
| 52 | { |
| 53 | module->parsing = true; |
| 54 | |
| 55 | if (isWinSxSModule(module)) |
| 56 | { |
| 57 | parseModuleWithMapping(module); |
| 58 | } |
| 59 | else if (isModuleLoadedInOwnProcess(module)) //this is always ok |
| 60 | { |
| 61 | parseModuleWithOwnProcess(module); |
| 62 | } |
| 63 | else |
| 64 | { |
| 65 | if (readExportTableAlwaysFromDisk) |
| 66 | { |
| 67 | parseModuleWithMapping(module); |
| 68 | } |
| 69 | else |
| 70 | { |
| 71 | parseModuleWithProcess(module); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | module->isAlreadyParsed = true; |
| 76 | } |
| 77 | |
| 78 | void ApiReader::parseModuleWithMapping(ModuleInfo *moduleInfo) |
| 79 | { |
nothing calls this directly
no outgoing calls
no test coverage detected