1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00

stack and function calls

This commit is contained in:
julianb0 2019-05-16 17:12:51 +02:00
parent fe465ec81d
commit 36bd4a0349
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62

View File

@ -43,7 +43,7 @@ void dumpmem(ctx_t *ctx, ulong start, ulong size)
void dumpfwstack(ctx_t *ctx) void dumpfwstack(ctx_t *ctx)
{ {
log("\nFirmware stack:\n"); log("\nFirmware stack:\n");
dumpmem(ctx, FWSTACK, 128); dumpmem(ctx, FWSTACK - 128, 128);
} }
void dumpinstr(ctx_t *ctx, ulong rip, ushort c, acc_t *p1, acc_t *p2) void dumpinstr(ctx_t *ctx, ulong rip, ushort c, acc_t *p1, acc_t *p2)