Skip to documentation
SLOP

tiny.choir.backends.aarch64.disassemble

Reference tiny.choir backends aarch64 disassemble

Defined in backends.aarch64.

API (3)

Actions

Public operations.

No direct callersNo direct callsbackends.aarch64disassemble
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/choir/src/backends/aarch64/disassemble/format.zig:28

zig
pub fn disassembleToWriter(raw: u32, writer: anytype, show_offsets_in_bytes: bool) !void {    if (try decodeBranchReg(raw, writer)) return;    if (try decodeBranchCond(raw, writer, show_offsets_in_bytes)) return;    if (try decodeBranchImm(raw, writer, show_offsets_in_bytes)) return;    if (try decodeLoadStorePair(raw, writer)) return;    if (try decodeLoadStoreRegImm(raw, writer)) return;    if (try decodeDataProcessingImmediate(raw, writer)) return;    if (try decodeConditionalSelect(raw, writer)) return;    if (try decodeDataProcessingRegister(raw, writer)) return;    if (try decodeFPImmediate(raw, writer)) return;    if (try decodeFP(raw, writer)) return;    try writer.print("unknown 0x{x:0>8}", .{raw});}
Called byCallsbackends.aarch64.disassembleformatInstructionRawWithDetailprivate sourcelib.choir.src.backends.aarch64.disassemble.fo...decodeBranchCondprivate sourcelib.choir.src.backends.aarch64.disassemble.fo...decodeBranchImmprivate sourcelib.choir.src.backends.aarch64.disassemble.fo...decodeBranchRegprivate sourcelib.choir.src.backends.aarch64.disassemble.fo...decodeConditionalSelectprivate sourcelib.choir.src.backends.aarch64.disassemble.fo...decodeDataProcessingImmediate+5 morebackends.aarch64.disassembledisassembleToWriter
Static calls · unresolved targets: 1 · external targets: 0.

Source: lib/choir/src/backends/aarch64/disassemble/format.zig:14

zig
pub fn formatInstructionRaw(raw: u32, buf: []u8) []const u8 {    return formatInstructionRawWithDetail(raw, buf, false);}
Called byCallsNo direct callersbackends.aarch64.disassembleformatInstructionRawWithDetailbackends.aarch64.disassembleformatInstructionRaw
Static calls · unresolved targets: 0 · external targets: 0.

Source: lib/choir/src/backends/aarch64/disassemble/format.zig:18

zig
pub fn formatInstructionRawWithDetail(raw: u32, buf: []u8, show_offsets_in_bytes: bool) []const u8 {    var writer = std.Io.Writer.fixed(buf);    disassembleToWriter(raw, &writer, show_offsets_in_bytes) catch {        return fallbackUnknown(raw, buf);    };    return writer.buffered();}
Called byCallsbackends.aarch64.disassembleformatInstructionRawbackends.aarch64.disassembledisassembleToWriterprivate sourcelib.choir.src.backends.aarch64.disassemble.fo...fallbackUnknownbackends.aarch64.disassembleformatInstructionRawWithDetail
Static calls · unresolved targets: 0 · external targets: 1.

Source: lib/choir/src/backends/aarch64/disassemble/root.zig

zig
const format = @import("format.zig");pub const formatInstructionRaw = format.formatInstructionRaw;pub const formatInstructionRawWithDetail = format.formatInstructionRawWithDetail;pub const disassembleToWriter = format.disassembleToWriter;

Source: lib/choir/src/backends/aarch64/root.zig:3

zig
pub const disassemble = @import("disassemble/root.zig");

Complete call list for backends.aarch64.disassemble.disassembleToWriter

10 direct calls.

Audit

Definitions4
Public names4
Members0
Version26.7.0
Revisiondaab053ee433