2023-05-02 20:41:02 +00:00
|
|
|
/* SPDX-FileCopyrightText: © 2022-2023 Decompollaborate */
|
2022-08-27 16:22:48 +00:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
|
|
|
|
#ifndef RABBITIZER_INSTRSUFFIX_H
|
|
|
|
#define RABBITIZER_INSTRSUFFIX_H
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common/Utils.h"
|
|
|
|
|
2022-10-04 11:31:02 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-08-27 16:22:48 +00:00
|
|
|
|
|
|
|
struct RabbitizerInstruction;
|
|
|
|
|
2022-12-18 18:15:39 +00:00
|
|
|
#include "InstrSuffix_enum.table.h"
|
2022-08-27 16:22:48 +00:00
|
|
|
|
|
|
|
CONST NODISCARD NON_NULL(1)
|
|
|
|
size_t RabbitizerInstrSuffix_getSizeForBuffer(const struct RabbitizerInstruction *self, RabbitizerInstrSuffix instrSuffix);
|
|
|
|
|
|
|
|
CONST NODISCARD NON_NULL(1, 2)
|
|
|
|
size_t RabbitizerInstrSuffix_processSuffix(const struct RabbitizerInstruction *self, char *dst, RabbitizerInstrSuffix instrSuffix);
|
|
|
|
|
2022-10-04 11:31:02 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2022-08-27 16:22:48 +00:00
|
|
|
#endif
|