( fileInstance: ArrayBuffer | Blob | ScanFileLike )
| 277 | } |
| 278 | |
| 279 | async readFileBlob ( fileInstance: ArrayBuffer | Blob | ScanFileLike ) { |
| 280 | const binaryReader = await this.getZipFileReader( fileInstance ) |
| 281 | const zipReader = new zip.ZipReader( binaryReader ) |
| 282 | const entries = await zipReader.getEntries() |
| 283 | |
| 284 | this.sendMessage({ |
| 285 | message: '📖 Reading file complete. Entries found', |
| 286 | status: 'read' |
| 287 | }) |
| 288 | |
| 289 | return entries as ScanFileEntry[] |
| 290 | } |
| 291 | |
| 292 | classifyBinaryEntryArchitecture ( binaryEntry: ScanMachoMeta ) { |
| 293 | const armArchitecture = binaryEntry.architectures.find( architecture => { |
no test coverage detected