- Add LICENSES directory - Download additional licenses used - Add .reuse directory - Add doc about SPDX/reuse Co-authored-by: Florian Märkl <info@florianmaerkl.de>
24 lines
461 B
C
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 */
|