mirror of
https://github.com/Decompollaborate/rabbitizer.git
synced 2025-01-01 08:59:40 +00:00
acee144578
* start making c++ bindings * Add sanity checks * add descriptor methods * setup making c++ library * cpp test * format (not tidy because it breaks everything and the result looks dumb) * Fixes * add missing alias * move stuff to their own files * InstructionRsp bindings * r5900 bindings * almost there * binding for analysis stuff * setters
37 lines
908 B
C++
37 lines
908 B
C++
/* SPDX-FileCopyrightText: © 2022 Decompollaborate */
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef RABBITIZER_LO_PAIRING_INFO_HPP
|
|
#define RABBITIZER_LO_PAIRING_INFO_HPP
|
|
#pragma once
|
|
|
|
#include "analysis/RabbitizerLoPairingInfo.h"
|
|
|
|
|
|
namespace rabbitizer {
|
|
class LoPairingInfo {
|
|
protected:
|
|
RabbitizerLoPairingInfo pairingInfo;
|
|
|
|
public:
|
|
LoPairingInfo();
|
|
LoPairingInfo(const RabbitizerLoPairingInfo &pairingInfo);
|
|
|
|
/**
|
|
* Returns a pointer to the inner RabbitizerLoPairingInfo.
|
|
* It is recommended to not mess with it unless you know what you are doing.
|
|
*/
|
|
RabbitizerLoPairingInfo *getCPtr();
|
|
const RabbitizerLoPairingInfo *getCPtr() const;
|
|
|
|
int getInstrOffset() const;
|
|
int64_t getValue() const;
|
|
bool shouldProcess() const;
|
|
bool isGpRel() const;
|
|
bool isGpGot() const;
|
|
};
|
|
};
|
|
|
|
|
|
#endif
|