Re: Golang binary dwarf

2021-02-07 Thread Manoj Kumar via Elfutils-devel
Wrapecho starts a local server on port 1323. It provides handlers for url localhost:1323/ and localhost:1323/cat. The handlers simply execute some user defined code. Sure I will contact th golang team. Thanks for providing the details. On Sunday, 7 February, 2021, 10:58:26 pm IST, Mark Wiela

Re: Golang binary dwarf

2021-02-07 Thread Manoj Kumar via Elfutils-devel
Please confirm if you have got the binaries.I got failure message for elfutils-devel@sourceware.org On Sunday, 7 February, 2021, 10:42:47 pm IST, Manoj Kumar wrote: Please get the attached binaries. Please remove txt extension. md5sum wrapecho 2960d6232f818c4df8c9a8a30c4dd6d9md5sum w

Re: Golang binary dwarf

2021-02-07 Thread Manoj Kumar via Elfutils-devel
Sure. I will upload them in an hour. On Sunday, 7 February, 2021, 09:47:07 pm IST, Mark Wielaard wrote: Hi Manoj, On Sun, Feb 07, 2021 at 04:10:20PM +, Manoj Kumar wrote: > I can upload the go binaries. Dyninst libraries have huge size so > can't send those. Please let me know shou

Re: Golang binary dwarf

2021-02-07 Thread Manoj Kumar via Elfutils-devel
Hi, I can upload the go binaries. Dyninst libraries have huge size so can't send those. Please let me know should I upload the go binaries? Program OutputProgram without linkshared option is able to find the arguments of any function and displays number of arguments with their names but a progra

Re: Golang binary dwarf

2021-02-07 Thread Manoj Kumar via Elfutils-devel
+, Manoj Kumar via Elfutils-devel > wrote: >> Hi,Using dyninst, I am trying to access local variables and arguments >> of a function which is part of a go binary.To get local variables, >> dyninst uses libdw to find all the modules. It uses dwarf_nextcu >> func

Golang binary dwarf

2021-02-05 Thread Manoj Kumar via Elfutils-devel
Hi,Using dyninst, I am trying to access local variables and arguments of a function which is part of a go binary.To get local variables, dyninst uses libdw to find all the modules. It uses dwarf_nextcu function of libdw to find all the modules of binary.When I compile a go binary using "go build