---
title: badExecutable
framework: system
role: symbol
role_heading: Type Property
path: system/errno/badexecutable
---

# badExecutable

Bad executable or shared library.

## Declaration

```swift
static var badExecutable: Errno { get }
```

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion The executable or shared library being referenced was malformed. The corresponding C error is EBADEXEC.

## See Also

### Executable File Errors

- [badCPUType](system/errno/badcputype.md)
- [execFormatError](system/errno/execformaterror.md)
- [malformedMachO](system/errno/malformedmacho.md)
- [sharedLibraryVersionMismatch](system/errno/sharedlibraryversionmismatch.md)
