|
|
cde03b |
#include "mdso_driver_impl.h"
|
|
|
cde03b |
#include "argv/argv.h"
|
|
|
cde03b |
|
|
|
cde03b |
const struct argv_option mdso_default_options[] = {
|
|
|
ffd5c6 |
{"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
|
|
|
cde03b |
"show version information"},
|
|
|
cde03b |
|
|
|
ffd5c6 |
{"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
|
|
|
cde03b |
"show usage information [listing %s options only]"},
|
|
|
cde03b |
|
|
|
ffd5c6 |
{"machine", 'm',TAG_QUAD_PTR,ARGV_OPTARG_REQUIRED,0,"32|64",0,
|
|
|
7c0ec4 |
"set machine bits to %s"},
|
|
|
7c0ec4 |
|
|
|
ffd5c6 |
{"libpath", 'l',TAG_LIBPATH,ARGV_OPTARG_REQUIRED,0,"loader|peb|system32",0,
|
|
|
6848b7 |
"runtime loader should search for the library either "
|
|
|
6848b7 |
"according to its internal/inherited path (loader), "
|
|
|
6848b7 |
"or according to the library path in the process PEB block (peb); "
|
|
|
6848b7 |
"alternatively, the loader may only search for the library "
|
|
|
6848b7 |
"in the system library directory (system32)."},
|
|
|
6848b7 |
|
|
|
ffd5c6 |
{"libname", 'n',TAG_LIBNAME,ARGV_OPTARG_REQUIRED,0,0,"<libname>",
|
|
|
d8c2b3 |
"set dependency library name to %s"},
|
|
|
d8c2b3 |
|
|
|
ffd5c6 |
{"dstdir", 'd',TAG_DSTDIR,ARGV_OPTARG_REQUIRED,0,0,"<dstdir>",
|
|
|
d8c2b3 |
"save generated assembly files under %s"},
|
|
|
d8c2b3 |
|
|
|
ffd5c6 |
{"pretty", 'p',TAG_PRETTY,ARGV_OPTARG_REQUIRED,0,"yaml",0,
|
|
|
8cfad6 |
"format output for parsing by %s"},
|
|
|
8cfad6 |
|
|
|
ffd5c6 |
{"expsyms", 'e',TAG_EXPSYMS,ARGV_OPTARG_NONE,0,0,0,
|
|
|
8cfad6 |
"print exported symbols" },
|
|
|
8cfad6 |
|
|
|
cde03b |
{0}
|
|
|
cde03b |
};
|