diff options
-rw-r--r-- | src/config.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/config.go b/src/config.go new file mode 100644 index 0000000..15ac082 --- /dev/null +++ b/src/config.go @@ -0,0 +1,17 @@ +package main + +import "flag" + +func parseConfig() Config { + verbose = flag.Bool("v", false, "verbose output") + flag.Parse() + + config := Config{ + Arch: "x86", + Bits: 32, + Memsize: 1024, + MaxProgSize: 64, + } + + return config +} |