Skip to content

Commit 2433708

Browse files
committed
preload
1 parent 4658f69 commit 2433708

File tree

4 files changed

+1
-0
lines changed

4 files changed

+1
-0
lines changed

ld_preload/demo

-1.11 KB
Binary file not shown.

ld_preload/libstrncmp.so

0 Bytes
Binary file not shown.

ld_preload/libstrncmp.so.o

0 Bytes
Binary file not shown.

ld_preload/strncmp.zig

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const std = @import("std");
2+
23
export fn strncmp(s1: [*c]u8, s2: [*c]u8, len: usize) u32 {
34
std.debug.print("{s} {s} {d}\n", .{ s1, s2, len });
45
return 0;

0 commit comments

Comments
 (0)