binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Unimplemented api functions in binaryninjaapi.h

Open CouleeApps opened this issue 4 years ago • 2 comments

Binary Ninja Version 2.4.3090-dev

Describe the bug A decent number of functions in binaryninjaapi.h are completely unimplemented. We should either remove their definitions or implement them.

Here's a list of everything CLion found in binaryninjapi.h:

  • [ ] QualifiedName::GetAPIObject() const
  • [ ] NameSpace::GetAPIObject() const
  • [ ] InstructionTextToken::InstructionTextToken(uint8_t confidence, BNInstructionTextTokenType t, const std::string& txt)
  • [ ] Segment::GetRelocationsInRange(uint64_t addr, uint64_t size) const
  • [ ] Section::Section(const std::string& name, uint64_t start, uint64_t length, BNSectionSemantics semantics, const std::string& type, uint64_t align, uint64_t entrySize, const std::string& linkedSection, const std::string& infoSection, uint64_t infoData, bool autoDefined)
  • [ ] BinaryView::AddUndoAction(UndoAction* action)
  • [ ] BinaryView::CreateStructureBasedOnFieldAccesses(const QualifiedName& type)
  • [ ] Variable::Variable(BNVariableSourceType type, uint64_t storage)
  • [ ] Type::IsVolatile() const
  • [ ] Type::GetScope() const
  • [ ] TypeBuilder::IsVolatile() const
  • [ ] TypeBuilder::GetScope() const
  • [ ] TypeBuilder::SetScope(const Confidence<BNMemberScope>& scope)
  • [ ] TypeBuilder::IsReferenceOfType(BNNamedTypeReferenceClass refType)
  • [ ] Function::DeleteAutoVariable(const Variable& var)
  • [ ] Function::ReleaseAdvancedAnalysisData(size_t count)
  • [ ] Repository::GetLocalReference() const
  • [ ] Repository::GetRemoteReference() const
  • [ ] Repository::GetPluginDirectory() const
  • [ ] SimplifyName::operator std::string() const
  • [ ] CustomDebugInfoParser::Register(const std::string& name)

CouleeApps avatar Nov 03 '21 00:11 CouleeApps

I am gonna implement those in class Metadata because the debugger needs it

xusheng6 avatar Jun 27 '22 06:06 xusheng6

The Metadata API is added in 6e282b0e11fa15e9aacddf52f0fedb5ab2f13bbc

xusheng6 avatar Jul 21 '22 03:07 xusheng6