File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,17 @@ import (
1414)
1515
1616func main () {
17- tpl , err := os.ReadFile (" Gleam-RT.bin" )
17+ template , err := os.ReadFile (" Gleam-RT.bin" )
1818 checkError (err)
1919
2020 opts := option.Options {
21+ DisableSysmon: false ,
22+ DisableWatchdog: false ,
2123 NotEraseInstruction: false ,
2224 NotAdjustProtect: false ,
2325 TrackCurrentThread: false ,
2426 }
25- tpl , err = option.Set (tpl , &opts)
27+ template , err = option.Set (template , &opts)
2628 checkError (err)
2729
2830 arg1 := &argument.Arg {
@@ -36,7 +38,7 @@ func main() {
3638 stub , err := argument.Encode (arg1, arg2)
3739 checkError (err)
3840
39- output := append (tpl , stub...)
41+ output := append (template , stub...)
4042 err = os.WriteFile (" output.bin" , output, 0600 )
4143 checkError (err)
4244}
You can’t perform that action at this time.
0 commit comments