blob: 9e5a43bc6c62c5d8ed9250fbd36f0e3d1f1c1289 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "binaryninjaapi.h"
#include <iomanip>
using namespace BinaryNinja;
using namespace std;
class EfiGuidRenderer : public BinaryNinja::DataRenderer
{
EfiGuidRenderer() = default;
public:
bool IsValidForData(BinaryView*, uint64_t address, Type*, vector<pair<Type*, size_t>>&) override;
vector<DisassemblyTextLine> GetLinesForData(
BinaryView*, uint64_t address, Type*, const vector<InstructionTextToken>& prefix, size_t width,
std::vector<std::pair<Type*, size_t>>& context, const std::string& language = std::string()) override;
static void Register();
};
|