MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / CreateForcedVariableVersion

Method CreateForcedVariableVersion

function.cpp:2672–2684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2670
2671
2672void Function::CreateForcedVariableVersion(const Variable& var, const ArchAndAddr& location)
2673{
2674 auto defSite = BNArchitectureAndAddress();
2675 defSite.arch = location.arch->m_object;
2676 defSite.address = location.address;
2677
2678 auto var_data = BNVariable();
2679 var_data.type = var.type;
2680 var_data.index = var.index;
2681 var_data.storage = var.storage;
2682
2683 BNCreateForcedVariableVersion(m_object, &var_data, &defSite);
2684}
2685
2686
2687void Function::ClearForcedVariableVersion(const Variable& var, const ArchAndAddr& location)

Callers

nothing calls this directly

Calls 2

BNVariableClass · 0.85

Tested by

no test coverage detected