From aecd6adbd2f5ce12437215fe2e64e004d28db86b Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Fri, 1 Sep 2023 10:14:11 +0200 Subject: cooker: print syscall name instead of number --- cooker/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cooker/emit.c') diff --git a/cooker/emit.c b/cooker/emit.c index ce325f1..efe70eb 100644 --- a/cooker/emit.c +++ b/cooker/emit.c @@ -119,7 +119,7 @@ void emit_call(struct gluten_ctx *g, struct context_desc *cdesc, long nr, memcpy(desc->args, offset, sizeof(struct gluten_offset) * count); desc->args[count] = ret_offset; - debug(" %i: OP_CALL: %i, arguments:", g->ip.offset, nr); + debug(" %i: OP_CALL: %s, arguments:", g->ip.offset, syscall_name_str[nr]); for (i = 0; i < count; i++) { debug("\t%i: %s %s%i", i, gluten_offset_name[offset[i].type], is_ptr[i] ? "*" : "", offset[i].offset); -- cgit v1.2.3