qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC v4 05/11] linux-user/elfload: Add support for parsing symbols o


From: Richard Henderson
Subject: Re: [RFC v4 05/11] linux-user/elfload: Add support for parsing symbols of native libraries.
Date: Wed, 9 Aug 2023 09:14:35 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 8/8/23 07:17, Yeqi Fu wrote:
This commit addresses the need to parse symbols of native libraries.
The base address of a shared library is determined by the dynamic
linker. To simplify the process, we focus on the last three digits,
which reside within the same page and remain unaffected by the base
address.

Signed-off-by: Yeqi Fu<fufuyqqqqqq@gmail.com>
---
  linux-user/elfload.c | 85 +++++++++++++++++++++++++++++++++++++++++---
  1 file changed, 80 insertions(+), 5 deletions(-)

I'm not keen on this. I would much prefer the native library to be self-contained and not rely on symbols in this fashion.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]