Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does garble remove the flags I need? #847

Open
nataliasamarusakova opened this issue Apr 26, 2024 · 1 comment
Open

Why does garble remove the flags I need? #847

nataliasamarusakova opened this issue Apr 26, 2024 · 1 comment
Labels
needs info Requires extra information to be solved

Comments

@nataliasamarusakova
Copy link

After obfuscation they disappear . how to save them ?

virtualizersdk.Macro(virtualizersdk.TIGER_BLACK_START)
...
.........
............
virtualizersdk.Macro(virtualizersdk.TIGER_BLACK_END)

package main

import (
"fmt"
"github.com/oreans/virtualizersdk"
"io/ioutil"
"net/http"
)

func main() {
string1 := "This is string1"
virtualizersdk.Macro(virtualizersdk.TIGER_BLACK_START)
string2 := "This is string2"
string3 := string1 + string2
fmt.Println(string3)
resp, err := http.Get("http://google.com/")
if err != nil {
fmt.Println(err)
} else {
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println(err)
}
fmt.Println(string(body))
}
virtualizersdk.Macro(virtualizersdk.TIGER_BLACK_END)
string4 := string2 + "...and string 4"
fmt.Println(string4)
}

package main

import (
"fmt"
"github.com/oreans/virtualizersdk"
"io/ioutil"
"net/http"
)

func main() {
string1 := "This is string1"
virtualizersdk.Macro(virtualizersdk.TIGER_BLACK_START)
string2 := "This is string2"
string3 := string1 + string2
fmt.Println(string3)
resp, err := http.Get("http://google.com/")
if err != nil {
fmt.Println(err)
} else {
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println(err)
}
fmt.Println(string(body))
}
virtualizersdk.Macro(virtualizersdk.TIGER_BLACK_END)
string4 := string2 + "...and string 4"
fmt.Println(string4)
}

@mvdan
Copy link
Member

mvdan commented Apr 26, 2024

Follow the issue template please.

@mvdan mvdan added the needs info Requires extra information to be solved label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Requires extra information to be solved
Development

No branches or pull requests

2 participants