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

Method GetRelocationsAt

binaryview.cpp:1861–1873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1859
1860
1861std::vector<Ref<Relocation>> BinaryView::GetRelocationsAt(uint64_t addr) const
1862{
1863 size_t count = 0;
1864 BNRelocation** relocations = BNGetRelocationsAt(m_object, addr, &count);
1865 std::vector<Ref<Relocation>> result;
1866 result.reserve(count);
1867 for (size_t i = 0; i < count; i++)
1868 {
1869 result.push_back(new Relocation(BNNewRelocationReference(relocations[i])));
1870 }
1871 BNFreeRelocationList(relocations, count);
1872 return result;
1873}
1874
1875
1876void BinaryView::RegisterNotification(BinaryDataNotification* notify)

Callers 1

GetRealSymbolFunction · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected