rizin/librz/asm/arch/ppc/libps/libps.h
Riccardo Schirone 53bf5c497f SPDX Copyright text for all files based on history
- Add LICENSES directory
- Download additional licenses used
- Add .reuse directory
- Add doc about SPDX/reuse

Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2021-03-05 19:39:15 +08:00

24 lines
461 B
C

// SPDX-FileCopyrightText: 2017 deroad <wargio@libero.it>
// SPDX-License-Identifier: LGPL-3.0-only
#ifndef LIBPS_H
#define LIBPS_H
#include <rz_types.h>
typedef struct {
ut32 value;
ut16 type;
} ppcps_field_t;
typedef struct {
const char *name;
ppcps_field_t operands[6];
int n;
int op;
ut32 analysis_op;
} ppcps_t;
bool libps_decode(ut32 data, ppcps_t *ps);
void libps_snprint(char *str, int size, ut64 addr, ppcps_t *instr);
#endif /* LIBPS_H */