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

Method find

json/jsoncpp.cpp:3593–3605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3591bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
3592
3593Value const* Value::find(char const* key, char const* cend) const {
3594 JSON_ASSERT_MESSAGE(type_ == nullValue || type_ == objectValue,
3595 "in Json::Value::find(key, end, found): requires "
3596 "objectValue or nullValue");
3597 if (type_ == nullValue)
3598 return NULL;
3599 CZString actualKey(key, static_cast<unsigned>(cend - key),
3600 CZString::noDuplication);
3601 ObjectValues::const_iterator it = value_.map_->find(actualKey);
3602 if (it == value_.map_->end())
3603 return NULL;
3604 return &(*it).second;
3605}
3606const Value& Value::operator[](const char* key) const {
3607 Value const* found = find(key, key + strlen(key));
3608 if (!found)

Callers 15

HighLevelILOperandMethod · 0.80
operator*Method · 0.80
operator[]Method · 0.80
GetOperandsMethod · 0.80
GetListMethod · 0.80
GetByNameMethod · 0.80
GetNodesMethod · 0.80
GetNodeMethod · 0.80
GetNodesInRegionMethod · 0.80
HttpWriteCallbackFunction · 0.80
RequestMethod · 0.80

Calls 1

endMethod · 0.45

Tested by 6

normalizeFunction · 0.64
modify_projectFunction · 0.64
test_llil_visitorFunction · 0.64