You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ gcc -gdwarf -no-pie -static -o tests/hello tests/hello.c
$ ups/ups tests/hello
Can't find shared library information in ELF executable ./blah (no `.dynamic' section)
Hello world
Fatal internal error: ao_read_text_from_process with no proc (aborting) ...
Dumping core ... Aborted (core dumped)
ptrace_init_pid is called with a valid pid at some point, but in ao_read_text_from_process ip->ip_pid is zero. There are several placed where ip_pid might get reset to zero.
There seems to be a historical issue with statically linked programs:
Debugging a statically linked program fails:
ptrace_init_pid
is called with a validpid
at some point, but inao_read_text_from_process
ip->ip_pid
is zero. There are several placed whereip_pid
might get reset to zero.There seems to be a historical issue with statically linked programs:
ups/ups/ao_elflib.c
Lines 1274 to 1282 in c1fb509
The text was updated successfully, but these errors were encountered: