Re: [go-nuts] Is it possible to compile a Go program without jump tables ?

2024-12-03 Thread 'Karolina GORNA' via golang-nuts
Yes thank you Andrey, I noticed this shortly after sending the example in the email. I redid the procedure on the code below which is not optimized by the Go compiler, and I get the same conclusions as before, you can check. Best, Karolina *switch-go-improved/

Re: [go-nuts] Is it possible to compile a Go program without jump tables ?

2024-12-03 Thread 'Karolina GORNA' via golang-nuts
gt;> https://www.mail-archive.com/debian-b...@lists.debian.org/msg1983336.html >>> <https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1983336.html>) >>> >>> so it's quite limiting. >>> --

Re: [go-nuts] Is it possible to compile a Go program without jump tables ?

2024-12-02 Thread &#x27;Karolina GORNA&#x27; via golang-nuts
quot;Ten")default: fmt.Println("Other")}}* > -- > > @Ian, I'm working on bug detection, and there seems to be more granularity > and therefore more accuracy in analyzing low-level code than source code. >

Re: [go-nuts] Is it possible to compile a Go program without jump tables ?

2024-11-29 Thread &#x27;Karolina GORNA&#x27; via golang-nuts
to be more granularity and therefore more accuracy in analyzing low-level code than source code. Best, Karolina On Friday, November 29, 2024 at 6:39:02 AM UTC+1 Ian Lance Taylor wrote: > On Thu, Nov 28, 2024, 1:13 AM 'Karolina GORNA' via golang-nuts < > golan...@googlegroups.com

Re: [go-nuts] Is it possible to compile a Go program without jump tables ?

2024-11-28 Thread &#x27;Karolina GORNA&#x27; via golang-nuts
> On Wednesday, November 27, 2024 at 1:42:14 PM UTC-8 Ian Lance Taylor wrote: > >> On Wed, Nov 27, 2024 at 5:48 AM 'Karolina GORNA' via golang-nuts >> wrote: >> > >> > I wondered if there is a similar command to gcc -fno-jump-tables -o >&g

[go-nuts] Is it possible to compile a Go program without jump tables ?

2024-11-27 Thread &#x27;Karolina GORNA&#x27; via golang-nuts
Hello, I wondered if there is a similar command to gcc -fno-jump-tables -o output_file source_file.c to compile Go code without jump tables but only with if/else statements (binary search) please ? Thank you -- Les informations contenues dans ce message électronique ainsi que celles contenue

[go-nuts] Limitations of go test -fuzz

2024-10-03 Thread &#x27;Karolina GORNA&#x27; via golang-nuts
Hello, I'd like to know what the limitations of 'go test -fuzz' are, i.e. what types of bugs it has the most trouble finding. Is there any resource on this topic please ? Thanks a lot -- Les informations contenues dans ce message électronique ainsi que celles contenues dans les documents atta

[go-nuts] Re: Can a golang program be compiled to run with only ONE goroutine ?

2024-10-03 Thread &#x27;Karolina GORNA&#x27; via golang-nuts
Thank you very much, TinyGo was what I was looking for. On Wednesday, September 11, 2024 at 5:18:21 AM UTC+2 Zxilly Chou wrote: > If you compile it to WebAssembly, it will works under the single thread > model. However, there are still multi *goroutine *be created, it was > designed to. > > 在2

[go-nuts] Can a golang program be compiled to run with only ONE goroutine ?

2024-09-10 Thread &#x27;Karolina GORNA&#x27; via golang-nuts
Hello, Maybe the question has already been asked, but I would be glad to have your feedback. *Can a golang program be compiled to run with only one goroutine, or at least one "OS thread" ?* I am aware of using GOMAXPROCS(1) to have only one "OS thread" or to use taskset -c 1 go build . to fo

[go-nuts] Is it possible to build a Go binary without the runtime ?

2024-01-23 Thread &#x27;Karolina GORNA&#x27; via golang-nuts
Hi everyone, I would like to build my Go program and to reverse-engineer it. I would find it easier to build it without the runtime and to statically analyse only the binary of the program. Is it possible and if yes, how please ? Thank you for your time. -- Les informations contenues dans ce

[go-nuts] Symbolic/Concolic execution of Go compiled Binaries

2023-10-30 Thread &#x27;Karolina GORNA&#x27; via golang-nuts
Hi Gophers, Hope that your are alright! *Does any of you know symbolic or concolic execution tools that are compatible with Go binaries please ? * >From what I currently understand, it seams possible to adapt Angr for instance so that it understands Go binaries, but I am not