Skip to content

Commit

Permalink
macho: tmp dump
Browse files Browse the repository at this point in the history
  • Loading branch information
kubkon committed Jan 23, 2024
1 parent f39557e commit 56145e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/MachO/synthetic.zig
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,14 @@ pub const LaSymbolPtrSection = struct {
else
sect.addr + StubsHelperSection.preambleSize(cpu_arch) +
StubsHelperSection.entrySize(cpu_arch) * idx;
std.debug.print("{d} : {s}@{x} {x} + {x} + {x}\n", .{
idx,
sym.getName(macho_file),
value,
sect.addr,
StubsHelperSection.preambleSize(cpu_arch),
StubsHelperSection.entrySize(cpu_arch) * idx,
});
try writer.writeInt(u64, @intCast(value), .little);
}
}
Expand Down

0 comments on commit 56145e4

Please sign in to comment.