1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#include "mdso_driver_impl.h"
#include "argv/argv.h"
const struct argv_option mdso_default_options[] = {
{"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
"show version information"},
{"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
"show usage information [listing %s options only]"},
{"asm", 'a',TAG_ASM,ARGV_OPTARG_NONE,0,0,0,
"generate assembly sources"},
{"obj", 'b',TAG_OBJ,ARGV_OPTARG_NONE,0,0,0,
"generate objects"},
{"machine", 'm',TAG_QUAD_PTR,ARGV_OPTARG_REQUIRED,0,"32|64",0,
"set machine bits to %s"},
{"libpath", 'l',TAG_LIBPATH,ARGV_OPTARG_REQUIRED,0,"loader|peb|system32",0,
"runtime loader should search for the library either "
"according to its internal/inherited path (loader), "
"or according to the library path in the process PEB block (peb); "
"alternatively, the loader may only search for the library "
"in the system library directory (system32)."},
{"libname", 'n',TAG_LIBNAME,ARGV_OPTARG_REQUIRED,0,0,"<libname>",
"set dependency library name to %s"},
{"dstdir", 'd',TAG_DSTDIR,ARGV_OPTARG_REQUIRED,0,0,"<dstdir>",
"save generated assembly files under %s"},
{"pretty", 'p',TAG_PRETTY,ARGV_OPTARG_REQUIRED,0,"yaml",0,
"format output for parsing by %s"},
{"expsyms", 'e',TAG_EXPSYMS,ARGV_OPTARG_NONE,0,0,0,
"print exported symbols" },
{0,0,0,0,0,0,0,0}
};
|