(fullResult: BuildResult, objectFilename: string)
| 84 | } |
| 85 | |
| 86 | async runReadelf(fullResult: BuildResult, objectFilename: string) { |
| 87 | const execOptions = this.getDefaultExecOptions(); |
| 88 | execOptions.customCwd = path.dirname(objectFilename); |
| 89 | return await this.doBuildstepAndAddToResult( |
| 90 | fullResult, |
| 91 | 'readelf', |
| 92 | this.env.ceProps('readelf') as string, |
| 93 | ['-h', objectFilename], |
| 94 | execOptions, |
| 95 | ); |
| 96 | } |
| 97 | |
| 98 | async getArchitecture(fullResult: BuildResult, objectFilename: string): Promise<Arch> { |
| 99 | const result = await this.runReadelf(fullResult, objectFilename); |
no test coverage detected