mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
dcfe83a0aa
There are a lot of lookups in the maps the osquery code. Most of them are verbose and not-optimal with check if such key exists in the table before get access. Some of them consists error e.g.: ```c++ r["uid"] = row.count("uuid") > 0 ? row.at("uid") : ""; ``` Introduced code will help to avoid the most of such problems. |
||
---|---|---|
.. | ||
tests | ||
CMakeLists.txt | ||
devtools.h | ||
printer.cpp | ||
shell.cpp |