about summary refs log tree commit diff
path: root/src/config.go
blob: 15ac08274f0ece8544af5d6f17ac04510637df7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}