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

Method RequestChatLog

collaboration.cpp:1864–1881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1862
1863
1864Json::Value RemoteFile::RequestChatLog()
1865{
1866 char* value = BNRemoteFileRequestChatLog(m_object);
1867 if (value == nullptr)
1868 throw RemoteException("Failed to load user positions");
1869
1870
1871 Json::Value json;
1872 std::unique_ptr<Json::CharReader> reader(Json::CharReaderBuilder().newCharReader());
1873 std::string errors;
1874 if (!reader->parse(value, value + strlen(value), &json, &errors))
1875 {
1876 throw RemoteException(errors);
1877 }
1878
1879 BNFreeString(value);
1880 return json;
1881}
1882
1883
1884RemoteFolder::RemoteFolder(BNRemoteFolder* folder)

Callers

nothing calls this directly

Calls 3

RemoteExceptionClass · 0.85
newCharReaderMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected