Added support for --showsyscalls, which shows the names of the system calls, rather than just their IDs.

This commit is contained in:
Myria
2015-12-26 12:45:45 -08:00
parent 57818a5677
commit 7e9893ec4d
8 changed files with 255 additions and 33 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef _SYSCALLS_H_
#define _SYSCALLS_H_
#include <stddef.h>
#ifdef __cplusplus
extern "C"
{
#endif
enum { NUM_SYSCALLS = 0x80 };
void syscall_get_name(char *output, size_t size, unsigned int call_num);
#ifdef __cplusplus
} // extern "C"
#endif
#endif