//
// Created by Mengyu Li on 2020/12/25.
//

import Foundation
import MachOParser

public extension Section {
    struct __TEXT__objc_classname: SectionContent {
        public typealias Value = Data
        public let value: Value

        public init(machoData: Data, range: Range<UInt64>) {
            value = machoData.subdata(in: range.intRange)
        }

        public static let segmentName: SegmentName = .__TEXT
        public static let sectionName: SectionName = .__objc_classname
    }
}
