summaryrefslogtreecommitdiff
path: root/plugins/efi_resolver/include/TypePropagation.h
blob: 1985e2ab7a7214cb340e8f259e57496c3df2849b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "Utils.h"
#include "binaryninjaapi.h"

using namespace BinaryNinja;

class TypePropagation
{
	Ref<BinaryView> m_view;
	std::deque<uint64_t> m_queue;
	Ref<Platform> m_platform;

public:
	TypePropagation(BinaryView* view);
	bool propagateFuncParamTypes(Function* func);
	bool propagateFuncParamTypes(Function* func, SSAVariable ssa_var);
};