[Fix] get textStart from pclnTable#516
Conversation
|
I did a simple test of v0.7.6 and PR#516 in an x64 Ubuntu 22.04 environment. The test was to execute the command The result shows that eCapture was able to correctly find the crypto/tls.(*Conn).Read symbol entry, but was unable to locate the RET command: |
|
I think the |
It looks like eCpture is indeed affecting docker's network communication. Normally docker login should return The test is relatively simple. I'm not sure if eCapture hooking other golang projects (buildmode=pie) would cause the same thing. |
On amd64, when the executable program in PIE format compiled by golang reads the return instruction of the function, the start address of inst is incorrect, resulting in an exception, see PR #516 for details. Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
On amd64, when the executable program in PIE format compiled by golang reads the return instruction of the function, the start address of inst is incorrect, resulting in an exception, see PR #516 for details. Signed-off-by: CFC4N <cfc4n.cs@gmail.com>



fixup: #512
details: wlingze#2, #514