- emitObjcHarness: objc_getClass + sel_registerName + objc_msgSend routes fuzzer bytes through ObjC dispatch instead of raw dlopen - Swift fixture (tests/fixtures/swift/): 4 C-ABI functions, 1 ObjC-exposed class with 3 methods, Swift-mangled symbols - isSwiftMangled filter skips symbols needing object references - Budget floor 30→120s, ceiling 120→600s (AFL++/libFuzzer norms)
13 lines
314 B
Swift
13 lines
314 B
Swift
// swift-tools-version: 5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "FuzzMeSwift",
|
|
platforms: [.macOS(.v13)],
|
|
products: [
|
|
.library(name: "FuzzMeSwift", type: .dynamic, targets: ["FuzzMeSwift"])
|
|
],
|
|
targets: [
|
|
.target(name: "FuzzMeSwift", path: "Sources")
|
|
]
|
|
)
|