rabbitizer/include/analysis/RabbitizerLoPairingInfo.h

35 lines
656 B
C
Raw Permalink Normal View History

2024-01-28 15:16:11 +00:00
/* SPDX-FileCopyrightText: © 2022-2024 Decompollaborate */
/* SPDX-License-Identifier: MIT */
#ifndef RABBITIZER_LO_PAIRING_INFO_H
#define RABBITIZER_LO_PAIRING_INFO_H
#pragma once
#include <stdbool.h>
#include "common/Utils.h"
2022-10-04 11:31:02 +00:00
#ifdef __cplusplus
extern "C" {
#endif
typedef struct RabbitizerLoPairingInfo {
int instrOffset;
int64_t value; // could be either an unsigned 32 bits number or a signed one, so use 64 bits to ensure it fits
2022-09-13 20:04:06 +00:00
bool shouldProcess;
bool isGpRel;
2022-09-13 20:04:06 +00:00
bool isGpGot;
} RabbitizerLoPairingInfo;
NON_NULL(1)
void RabbitizerLoPairingInfo_Init(RabbitizerLoPairingInfo *self);
2022-10-04 11:31:02 +00:00
#ifdef __cplusplus
}
#endif
#endif