Rizin
unix-like reverse engineering framework and cli tools
libps.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2017 deroad <wargio@libero.it>
2
// SPDX-License-Identifier: LGPL-3.0-only
3
4
#ifndef LIBPS_H
5
#define LIBPS_H
6
#include <
rz_types.h
>
7
8
typedef
struct
{
9
ut32
value
;
10
ut16
type
;
11
}
ppcps_field_t
;
12
13
typedef
struct
{
14
const
char
*
name
;
15
ppcps_field_t
operands
[6];
16
int
n
;
17
int
op
;
18
ut32
analysis_op
;
19
}
ppcps_t
;
20
21
bool
libps_decode
(
ut32
data,
ppcps_t
*ps);
22
void
libps_snprint
(
char
*
str
,
int
size
,
ut64
addr
,
ppcps_t
*instr);
23
24
#endif
/* LIBPS_H */
ut16
uint16_t ut16
Definition:
demangler_util.h:30
ut32
uint32_t ut32
Definition:
demangler_util.h:31
size
voidpf void uLong size
Definition:
ioapi.h:138
libps_snprint
void libps_snprint(char *str, int size, ut64 addr, ppcps_t *instr)
Definition:
libps.c:177
libps_decode
bool libps_decode(ut32 data, ppcps_t *ps)
Definition:
libps.c:97
cmd_descs_generate.str
str
Definition:
cmd_descs_generate.py:785
rz_types.h
operands
Definition:
analysis_or1k.c:9
ppcps_field_t
Definition:
libps.h:8
ppcps_field_t::value
ut32 value
Definition:
libps.h:9
ppcps_field_t::type
ut16 type
Definition:
libps.h:10
ppcps_t
Definition:
libps.h:13
ppcps_t::analysis_op
ut32 analysis_op
Definition:
libps.h:18
ppcps_t::name
const char * name
Definition:
libps.h:14
ppcps_t::op
int op
Definition:
libps.h:17
ppcps_t::n
int n
Definition:
libps.h:16
ut64
ut64(WINAPI *w32_GetEnabledXStateFeatures)()
addr
static int addr
Definition:
z80asm.c:58
librz
asm
arch
ppc
libps
libps.h
Generated by
1.9.1