|
|
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 |
|
|
|
c70c0a |
{"implib", 'i',TAG_IMPLIB,ARGV_OPTARG_REQUIRED,0,0,"<path>",
|
|
|
c70c0a |
"create an import library archive"},
|
|
|
c70c0a |
|
|
|
dc40b9 |
{"libname", 'n',TAG_LIBNAME,ARGV_OPTARG_REQUIRED,0,0,"<libname>",
|
|
|
dc40b9 |
"set dependency library name to %s"},
|
|
|
dc40b9 |
|
|
|
c12a92 |
{"asm", 'a',TAG_ASM,ARGV_OPTARG_NONE,0,0,0,
|
|
|
c12a92 |
"generate assembly sources"},
|
|
|
c12a92 |
|
|
|
3e55ee |
{"obj", 'b',TAG_OBJ,ARGV_OPTARG_NONE,0,0,0,
|
|
|
3e55ee |
"generate objects"},
|
|
|
3e55ee |
|
|
|
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 |
{"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 |
|
|
|
684d6e |
{0,0,0,0,0,0,0,0}
|
|
|
cde03b |
};
|