MemoryAccessor 1
A command-line front-end for exploring virtual memory of a linux process by accessing /proc/PID/mem file.
|
A class to parse arguments from the command line. More...
#include <argvparser.h>
Public Member Functions | |
ArgvParser (Console &console) noexcept | |
Constructor. | |
void | ParseArgv (const int &argc, char **argv) noexcept |
Parse program arguments. | |
A class to parse arguments from the command line.
This class is used to parse arguments given from the command line. It uses argc and argv variables that should be got as the arguments from the function main.
|
inlineexplicitnoexcept |
|
noexcept |
Parse program arguments.
[in] | argc | Arguments count given to the program. |
[in] | argv | Array of C strings representing arguments given to the program. |
Return if there were 1 argument (program executable), call a key function if a key is recognized and handle error otherwise.