Re: client program compiled with pie

Chen Gang via Valgrind-users <[email protected]> Wed, 23 Nov 2022 19:52:29 +0800
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
I got the reply from the openmp tem, it said like this


"The code you have sent should not cause the issue, as you are not doing
any memory allocations.&nbsp; The allocation is coming from a data structure
that GCC uses internally to keep track of task dependences.&nbsp; It looks
like the data structure is allocated when the OpenMP implementation is
initialized and it is not released before the program terminates."


So the code has no issues.


------------------&nbsp;Original&nbsp;------------------
From:                                                                                                                        "Floyd, Paul"                                                                                    <[email protected]&gt;;
Date:&nbsp;Wed, Nov 23, 2022 07:49 PM
To:&nbsp;"valgrind-users"<[email protected]&gt;;

Subject:&nbsp;Re: [Valgrind-users] client program compiled with pie




On 17/11/2022 19:22, Mark Roberts wrote:
&gt; How do I find the loaded address of a client program that was compiled
&gt; with -pie?&nbsp;&nbsp; I.e., how to I map the current execution address&nbsp; - such as
&gt; 0x4021151 - to the address in the elf file - such as 0x1193?&nbsp; With -nopie
&gt; the two are identical.


Hi

Do the address space maps that you get when running with -d do what you 
want?

A+

Paul



_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users