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

Method addPathInArg

json/jsoncpp.cpp:4079–4090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4077}
4078
4079void Path::addPathInArg(const JSONCPP_STRING& /*path*/,
4080 const InArgs& in,
4081 InArgs::const_iterator& itInArg,
4082 PathArgument::Kind kind) {
4083 if (itInArg == in.end()) {
4084 // Error: missing argument %d
4085 } else if ((*itInArg)->kind_ != kind) {
4086 // Error: bad argument type
4087 } else {
4088 args_.push_back(**itInArg++);
4089 }
4090}
4091
4092void Path::invalidPath(const JSONCPP_STRING& /*path*/, int /*location*/) {
4093 // Error: invalid path.

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected