This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: elf_update bug


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland McGrath wrote:
> What should the general rule be here?  It's not clear e.g. that one should
> not elf_begin(,ELF_C_RDWR,) + elf_fill(,0xaa) + elf_update(,) to change
> all the inter-section fill bytes.

This is gross and never how the fill byte was meant to be used.  I
agree, it's a possible interpretation but not what should be the
default.  If you want this behavior you can easily dirty the entire ELF
file explicitly.

I need to look at this in more detail to see what is going on.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkls/p4ACgkQ2ijCOnn/RHQt0gCfed8BDs8qdjFkOWrur2cqLPT6
BtsAoJqHWNLuaq00xaFhgaWvrkQS1HYV
=B2Sv
-----END PGP SIGNATURE-----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]