lp:debugedit

Get this repository:
git clone https://git.launchpad.net/debugedit

Import details

Import Status: Reviewed

This repository is an import of the Git repository at git://sourceware.org/git/debugedit.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 10 seconds — see the log

Branches

Name Last Modified Last Commit
main 2024-03-21 12:03:15 UTC
debugedit: Only write the ELF file when updating strings or build-id

Author: Mark J. Wielaard
Author Date: 2024-03-18 22:37:47 UTC

debugedit: Only write the ELF file when updating strings or build-id

Only open the ELF file read/write and write out the data if we
actually did any elf structure update or updating the build-id.

 * tools/debugedit.c (fdopen_dso): Call elf_begin with
 ELF_C_READ when not changing dest_dir or build_id,
 otherwise use ELF_C_RDWR.
 (main): Call open with O_RDONLY when not changing dest_dir
 or build_id, otherwise use O_RDWR. Call elf_update with
 ELF_C_WRITE when rewriting any string, updating any ELF
 structure or build_id.

https://sourceware.org/bugzilla/show_bug.cgi?id=31504

Signed-off-by: Mark Wielaard <mark@klomp.org>

11 of 1 result
This repository contains Public information 
Everyone can see this information.