(platform)
| 107 | } |
| 108 | |
| 109 | function isLinuxLegacy (platform) { |
| 110 | if (platform !== 'linux') return false |
| 111 | try { |
| 112 | const result = execSync('ldd --version 2>&1 | head -n1', { encoding: 'utf8' }) |
| 113 | const match = result.match(/(\d+\.\d+)\s*$/) |
| 114 | if (match) { |
| 115 | return parseFloat(match[1]) < 2.34 |
| 116 | } |
| 117 | return false |
| 118 | } catch (e) { |
| 119 | return false |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | // --------------------------------------------------------------------------- |
| 124 | // Launch the extracted binary |
no outgoing calls
no test coverage detected