MCPcopy
hub / github.com/ThatGuySam/doesitarm / classifyBinaryEntryArchitecture

Method classifyBinaryEntryArchitecture

helpers/scanner/scan.ts:292–300  ·  view source on GitHub ↗
( binaryEntry: ScanMachoMeta )

Source from the content-addressed store, hash-verified

290 }
291
292 classifyBinaryEntryArchitecture ( binaryEntry: ScanMachoMeta ) {
293 const armArchitecture = binaryEntry.architectures.find( architecture => {
294 if ( !isString( architecture.processorType ) ) return false
295
296 return architecture.processorType.toLowerCase().includes( 'arm' )
297 } )
298
299 return armArchitecture !== undefined
300 }
301
302 matchesMachoExecutable ( entry: ScanFileEntry ) {
303 if ( entry.filename.split( '/' ).length > 4 ) return false

Callers 1

findTargetFilesMethod · 0.95

Calls 1

isStringFunction · 0.90

Tested by

no test coverage detected