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

Method RequestUserPositions

collaboration.cpp:1844–1861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1842
1843
1844Json::Value RemoteFile::RequestUserPositions()
1845{
1846 char* value = BNRemoteFileRequestUserPositions(m_object);
1847 if (value == nullptr)
1848 throw RemoteException("Failed to load user positions");
1849
1850
1851 Json::Value json;
1852 std::unique_ptr<Json::CharReader> reader(Json::CharReaderBuilder().newCharReader());
1853 std::string errors;
1854 if (!reader->parse(value, value + strlen(value), &json, &errors))
1855 {
1856 throw RemoteException(errors);
1857 }
1858
1859 BNFreeString(value);
1860 return json;
1861}
1862
1863
1864Json::Value RemoteFile::RequestChatLog()

Callers

nothing calls this directly

Calls 3

RemoteExceptionClass · 0.85
newCharReaderMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected