17 #define RZ_SYSCALL_ARGS 7
53 typedef struct rz_sysregs_item_t {
61 typedef struct rz_sysregs_t {
78 struct rz_syscall_args_t *
args;
87 struct rz_syscall_args_t **
args;
int bits(struct state *s, int need)
static static fork const void static count static fd const char const char static newpath const char static path const char path
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc static sig const char static mode static oldfd struct tms static buf static getgid static geteuid const char static filename static arg static mask struct ustat static ubuf static getppid static setsid static egid sigset_t static set struct timeval struct timezone static tz fd_set fd_set fd_set struct timeval static timeout const char char static bufsiz const char static swapflags void static offset const char static length static mode static who const char struct statfs static buf unsigned unsigned num
struct rz_sysreg_db_t RzSysregsDB
struct rz_syscall_arch_plugin_t RzSyscallArchPlugin
struct rz_syscall_plugin_t RzSyscallPlugin
struct rz_syscall_t RzSyscall
struct rz_sysreg_item_t RzSysregItem
RZ_LIB_VERSION_HEADER(rz_syscall)
struct rz_syscall_item_t RzSyscallItem
struct rz_syscall_args_t ** args
struct rz_syscall_args_t * args
RZ_API RzSyscall * rz_syscall_new(void)
Creates a new RzSyscall type.
RZ_API void rz_sysreg_item_free(RzSysregItem *s)
Frees an RzSysregItem type.
RZ_API RzSysregsDB * rz_sysregs_db_new()
Creates a new RzSysregDB type.
RZ_API bool rz_sysreg_load_sdb(RzSysregsDB *sysregdb, const char *path)
Loads the RzSysregDB from the path to the hashtable.
RZ_API RzSyscall * rz_syscall_ref(RzSyscall *sc)
RZ_API void rz_syscall_free(RzSyscall *s)
Frees an RzSyscall type.
RZ_API void rz_syscall_item_free(RzSyscallItem *si)
RZ_API RZ_OWN RzSysregItem * rz_sysreg_item_new(RZ_NULLABLE const char *name)
Creates a new RzSysregItem type.
RZ_API int rz_syscall_get_swi(RzSyscall *s)
RZ_API bool rz_sysreg_set_arch(RzSyscall *s, RZ_NONNULL const char *arch, RZ_NONNULL const char *regs_dir)
Sets the architecture for sysregs during analysis and loads up the sysregs SDB database.
RZ_API int rz_syscall_get_num(RzSyscall *s, const char *str)
RZ_API RzSyscallItem * rz_syscall_item_new_from_string(const char *name, const char *s)
RZ_API RzSyscallItem * rz_syscall_get(RzSyscall *s, int num, int swi)
RZ_API const char * rz_sysreg_get(RzSyscall *s, const char *type, ut64 port)
Searches the sysregs SDB database inside librz/reg/d for the type (mmio/reg) and returns its value as...
RZ_API const char * rz_syscall_get_i(RzSyscall *s, int num, int swi)
RZ_API void rz_sysregs_db_free(RzSysregsDB *sysregdb)
Frees a RzSysregDB type.
RZ_API RzList * rz_syscall_list(RzSyscall *s)
RZ_API bool rz_syscall_setup(RzSyscall *s, const char *arch, int bits, const char *cpu, const char *os)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()
static xtensa_sysreg_internal sysregs[]
static const z80_opcode fd[]