mirror of
https://github.com/Decompollaborate/rabbitizer.git
synced 2024-12-29 09:22:02 +00:00
fb8c1edbd7
* Generate bindings for enums * Add .gitignore Cargo didn't automatically made * Actually build the files into the library * `pub` in `mod` to fix warning * instruction struct * Instruction rust binding * Add InstrId::ALL_MAX * link C library to rust * Publish crate CI * test * config bindings * add getters for registers * add names methods for register enums * get_operand_type * feedback from simon * Forgot to add new file to python setup.py * get_operands_slice * add stuff to cargo.toml
15 lines
360 B
Plaintext
15 lines
360 B
Plaintext
/* SPDX-FileCopyrightText: © 2022 Decompollaborate */
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
#define RAB_DEF_INSTRSUFFIX(prefix, name) RABINSTRSUFFIX_##prefix##_##name,
|
|
|
|
typedef enum RabbitizerInstrSuffix {
|
|
RAB_DEF_INSTRSUFFIX(ALL, NONE)
|
|
|
|
#include "InstrSuffix.inc"
|
|
|
|
RAB_DEF_INSTRSUFFIX(ALL, MAX)
|
|
} RabbitizerInstrSuffix;
|
|
|
|
#undef RAB_DEF_INSTRSUFFIX
|