# eb-local.isa_audit ::::{zig:module} eb-local.isa_audit :file: src/isa_audit.zig :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig `eb-local audit-isa`: the instructions in an installed prefix that need a CPU feature the target does not have. Every ELF file under the path is disassembled by objdump; each instruction's mnemonic, encoding and vector width select the features it needs from tables generated by tools/isa_tables/gen.py, and a feature missing from the target's set is a violation. Code that selects its instruction set at run time is listed in an allow file and reported as dispatch, which does not fail the audit. :::: ## Types :::{zig:type} eb-local.isa_audit.Mask :signature: pub const Mask = u256 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L23 A set of features, one bit per interned name. ::: ::::{zig:type} eb-local.isa_audit.Arch :signature: pub const Arch = enum :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L26 The architectures the audit reads: the machine of the ELF file selects one. :::{zig:field} eb-local.isa_audit.Arch.x86_64 :signature: x86_64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L27 ::: :::{zig:field} eb-local.isa_audit.Arch.aarch64 :signature: aarch64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L28 ::: :::: ::::{zig:type} eb-local.isa_audit.Target :signature: pub const Target = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L39 An EESSI software subdirectory, its architecture and the features its CPU has. :::{zig:field} eb-local.isa_audit.Target.name :signature: name: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L39 ::: :::{zig:field} eb-local.isa_audit.Target.arch :signature: arch: Arch :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L39 ::: :::{zig:field} eb-local.isa_audit.Target.has :signature: has: Mask :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L39 ::: :::: ::::{zig:type} eb-local.isa_audit.Db :signature: pub const Db = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L52 The tables of the generator, parsed. :::{zig:field} eb-local.isa_audit.Db.names :signature: names: std.ArrayList([]const u8) = .empty :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L53 ::: :::{zig:field} eb-local.isa_audit.Db.ids :signature: ids: std.StringHashMapUnmanaged(u8) = .empty :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L54 ::: :::{zig:field} eb-local.isa_audit.Db.x86_index :signature: x86_index: std.StringHashMapUnmanaged(Span) = .empty :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L55 ::: :::{zig:field} eb-local.isa_audit.Db.x86_rows :signature: x86_rows: std.ArrayList(X86Row) = .empty :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L56 ::: :::{zig:field} eb-local.isa_audit.Db.a64_index :signature: a64_index: std.StringHashMapUnmanaged(std.ArrayList(Rule)) = .empty :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L57 ::: :::{zig:field} eb-local.isa_audit.Db.a64_any :signature: a64_any: std.ArrayList(Rule) = .empty :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L58 ::: :::{zig:field} eb-local.isa_audit.Db.targets :signature: targets: std.ArrayList(Target) = .empty :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L59 ::: :::{zig:field} eb-local.isa_audit.Db.shstk :signature: shstk: u8 = 0 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L60 ::: :::{zig:function} eb-local.isa_audit.Db.load :signature: pub fn load(a: Allocator) LoadError!*Db :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L85 Parse the embedded tables into a database allocated from `a`. ::: :::{zig:function} eb-local.isa_audit.Db.idOf :signature: pub fn idOf(db: *const Db, feature_name: []const u8) ?u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L164 The id a feature name has, if the tables mention it. ::: :::{zig:function} eb-local.isa_audit.Db.nameOf :signature: pub fn nameOf(db: *const Db, feature: u8) []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L169 The name of a feature id. ::: :::{zig:function} eb-local.isa_audit.Db.target :signature: pub fn target(db: *const Db, want: []const u8) ?Target :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L175 The target `want` names: a full EESSI subdirectory, or a trailing part of one that only one subdirectory ends with. ::: :::: ::::{zig:type} eb-local.isa_audit.Verdict :signature: pub const Verdict = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L195 What one instruction needs: the features the target must have, the features the tables do not classify, and whether the mnemonic is unknown for a vector encoding. :::{zig:field} eb-local.isa_audit.Verdict.need :signature: need: Mask = 0 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L196 ::: :::{zig:field} eb-local.isa_audit.Verdict.unclassified :signature: unclassified: Mask = 0 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L197 ::: :::{zig:field} eb-local.isa_audit.Verdict.unknown_mnemonic :signature: unknown_mnemonic: bool = false :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L198 ::: :::{zig:field} eb-local.isa_audit.Verdict.zmm :signature: zmm: bool = false :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L199 ::: :::: ::::{zig:type} eb-local.isa_audit.Line :signature: pub const Line = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L203 One line of disassembly. :::{zig:field} eb-local.isa_audit.Line.address :signature: address: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L204 ::: :::{zig:field} eb-local.isa_audit.Line.bytes :signature: bytes: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L205 ::: :::{zig:field} eb-local.isa_audit.Line.mnemonic :signature: mnemonic: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L206 ::: :::{zig:field} eb-local.isa_audit.Line.operands :signature: operands: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L207 ::: :::: ::::{zig:type} eb-local.isa_audit.AllowEntry :signature: pub const AllowEntry = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L435 A package whose files hold code chosen at run time, and the features that code may use. :::{zig:field} eb-local.isa_audit.AllowEntry.needle :signature: needle: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L435 ::: :::{zig:field} eb-local.isa_audit.AllowEntry.mask :signature: mask: Mask :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L435 ::: :::: ::::{zig:type} eb-local.isa_audit.Finding :signature: pub const Finding = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L470 One feature a file needs and the target lacks: how many instructions, the first one, and whether the allow list covers it. :::{zig:field} eb-local.isa_audit.Finding.feature :signature: feature: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L471 ::: :::{zig:field} eb-local.isa_audit.Finding.count :signature: count: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L472 ::: :::{zig:field} eb-local.isa_audit.Finding.address :signature: address: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L473 ::: :::{zig:field} eb-local.isa_audit.Finding.instruction :signature: instruction: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L474 ::: :::{zig:field} eb-local.isa_audit.Finding.dispatch :signature: dispatch: bool :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L475 ::: :::: ::::{zig:type} eb-local.isa_audit.FileReport :signature: pub const FileReport = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L478 A file with at least one finding. :::{zig:field} eb-local.isa_audit.FileReport.path :signature: path: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L479 ::: :::{zig:field} eb-local.isa_audit.FileReport.instructions :signature: instructions: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L480 ::: :::{zig:field} eb-local.isa_audit.FileReport.zmm :signature: zmm: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L481 ::: :::{zig:field} eb-local.isa_audit.FileReport.findings :signature: findings: []const Finding :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L482 ::: :::: ::::{zig:type} eb-local.isa_audit.Unclassified :signature: pub const Unclassified = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L485 A feature or mnemonic the tables cannot judge, and how often it occurs. :::{zig:field} eb-local.isa_audit.Unclassified.name :signature: name: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L485 ::: :::{zig:field} eb-local.isa_audit.Unclassified.kind :signature: kind: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L485 ::: :::{zig:field} eb-local.isa_audit.Unclassified.count :signature: count: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L485 ::: :::: ::::{zig:type} eb-local.isa_audit.Problem :signature: pub const Problem = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L487 A file or directory the audit could not read or disassemble, and why. :::{zig:field} eb-local.isa_audit.Problem.path :signature: path: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L487 ::: :::{zig:field} eb-local.isa_audit.Problem.message :signature: message: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L487 ::: :::: ::::{zig:type} eb-local.isa_audit.Report :signature: pub const Report = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L489 The result of an audit, and the document `--json` prints. :::{zig:field} eb-local.isa_audit.Report.schema_version :signature: schema_version: u32 = jsonout.schema_version :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L490 ::: :::{zig:field} eb-local.isa_audit.Report.kind :signature: kind: []const u8 = "audit-isa" :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L491 ::: :::{zig:field} eb-local.isa_audit.Report.target :signature: target: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L492 ::: :::{zig:field} eb-local.isa_audit.Report.arch :signature: arch: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L493 ::: :::{zig:field} eb-local.isa_audit.Report.files_audited :signature: files_audited: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L494 ::: :::{zig:field} eb-local.isa_audit.Report.files_skipped :signature: files_skipped: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L495 ::: :::{zig:field} eb-local.isa_audit.Report.instructions :signature: instructions: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L496 ::: :::{zig:field} eb-local.isa_audit.Report.zmm :signature: zmm: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L497 ::: :::{zig:field} eb-local.isa_audit.Report.violation_count :signature: violation_count: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L498 ::: :::{zig:field} eb-local.isa_audit.Report.dispatch_count :signature: dispatch_count: u64 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L499 ::: :::{zig:field} eb-local.isa_audit.Report.failed :signature: failed: bool :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L500 ::: :::{zig:field} eb-local.isa_audit.Report.files :signature: files: []const FileReport :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L501 ::: :::{zig:field} eb-local.isa_audit.Report.unclassified :signature: unclassified: []const Unclassified :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L502 ::: :::{zig:field} eb-local.isa_audit.Report.errors :signature: errors: []const Problem :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L503 ::: :::: ::::{zig:type} eb-local.isa_audit.Options :signature: pub const Options = struct :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L725 What the command line asks for. :::{zig:field} eb-local.isa_audit.Options.path :signature: path: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L726 ::: :::{zig:field} eb-local.isa_audit.Options.target :signature: target: []const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L727 ::: :::{zig:field} eb-local.isa_audit.Options.json :signature: json: bool = false :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L728 ::: :::{zig:field} eb-local.isa_audit.Options.allow :signature: allow: ?[]const u8 = null :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L729 ::: :::{zig:field} eb-local.isa_audit.Options.objdump :signature: objdump: ?[]const u8 = null :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L730 ::: :::: ## Error sets ::::{zig:errorset} eb-local.isa_audit.LoadError :signature: pub const LoadError = Allocator.Error || error{BadTable} :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L49 Why `Db.load` read nothing: memory, or a table the generator did not write. :::: ## Functions :::{zig:function} eb-local.isa_audit.parseLine :signature: pub fn parseLine(line: []const u8) ?Line :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L228 Parse `ADDRESS:BYTESMNEMONIC OPERANDS` as GNU objdump and llvm-objdump print it; null for any other line. Instruction prefixes before the mnemonic are skipped, and a symbol or comment after the operands is cut. ::: :::{zig:function} eb-local.isa_audit.x86Encoding :signature: pub fn x86Encoding(bytes: []const u8) u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L257 The encoding of an x86-64 instruction from its bytes: V for VEX, E for EVEX, X for XOP, L for the rest. ::: :::{zig:function} eb-local.isa_audit.vectorWidth :signature: pub fn vectorWidth(operands: []const u8) u16 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L293 The widest vector register or memory operand the operands name, 0 for none. ::: :::{zig:function} eb-local.isa_audit.aliasOf :signature: pub fn aliasOf(mn: []const u8, buf: *[32]u8) ?[]const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L316 The mnemonic of the instruction an assembler alias stands for (vcmpltps, vpcmpnleub, vpcomltb, pclmullqlqdq), written into `buf`. ::: :::{zig:function} eb-local.isa_audit.classifyX86 :signature: pub fn classifyX86(db: *const Db, ln: Line) Verdict :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L360 What an x86-64 instruction needs. ::: :::{zig:function} eb-local.isa_audit.classifyA64 :signature: pub fn classifyA64(db: *const Db, ln: Line) Verdict :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L406 What an aarch64 instruction needs: the feature of the first rule its mnemonic and operands match. ::: :::{zig:function} eb-local.isa_audit.parseAllow :signature: pub fn parseAllow(a: Allocator, db: *const Db, text: []const u8) Allocator.Error![]const AllowEntry :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L439 Parse "PACKAGE feature[,feature...] # reason" lines. A feature the tables do not name is ignored. ::: :::{zig:function} eb-local.isa_audit.allowed :signature: pub fn allowed(entries: []const AllowEntry, path: []const u8, feature: u8) bool :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L458 True when a file under /software/PACKAGE/ may use the feature. ::: :::{zig:function} eb-local.isa_audit.renderText :signature: pub fn renderText(a: Allocator, r: Report) Allocator.Error![]const u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L507 The text `audit-isa` prints for a report. ::: :::{zig:function} eb-local.isa_audit.run :signature: pub fn run(a: Allocator, o: Options, path_env: []const u8, tmpdir: []const u8, envp: proc.Envp) u8 :source: https://github.com/stackhands/eb-local/blob/629c1ef39cdece5bfa2145cc8e2e89ae7583d197/src/isa_audit.zig#L742 Audit the ELF files under `o.path` against `o.target`: 0 when no instruction exceeds the target, 1 when one does, 2 on a usage or tool error. :::