Re: [PATCH] PR28873 - Implement eu-readelf -D

2023-04-01 Thread Di Chen via Elfutils-devel
s[i_verdefnum] + verdauxnum) * sizeof (GElf_Verdef), ELF_T_VDEF); + + unsigned int nsyms = (unsigned int)syments; + process_symtab (ebl, nsyms, 0, 0, 0, symdata, versym_data, symstrdata, + verneed_data, verdef_data, NULL); + return true; } @@ -4990,13 +5208,24 @@ get_dynscn_ad

[PATCH] PR28873 - Implement eu-readelf -D

2023-02-10 Thread Di Chen via Elfutils-devel
>From bdc19de94bff8f8812611b9ba8c0116a650d0fb5 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Fri, 13 Jan 2023 20:12:43 +0800 Subject: [PATCH] readelf: display dynamic symtab without section headers This commit adds a new option "-D/--use-dynamic" to support printing the dynamic symbol table from t

Re: [PATCH v2] libdw/libdwfl: Add API for accessing registers

2022-07-29 Thread Di Chen via Elfutils-devel
e_reg updated with return int. > 3. New DWFL_ERROR added: REGISTER_VAL_UNKNOWN. > > > On Thu, Jul 21, 2022 at 10:32 PM Mark Wielaard wrote: > >> Hi, >> >> On Tue, Jul 19, 2022 at 10:21:21PM +0800, Di Chen via Elfutils-devel >> wrote: >> > From

Re: [PATCH v2] libdw/libdwfl: Add API for accessing registers

2022-07-29 Thread Di Chen via Elfutils-devel
0:21:21PM +0800, Di Chen via Elfutils-devel wrote: > > From 9c25b08e46c2031b569a85f91713d009b83f4c26 Mon Sep 17 00:00:00 2001 > > From: Di Chen > > Date: Tue, 19 Jul 2022 14:54:45 +0800 > > Subject: [PATCH] libdw/libdwfl: Add API for accessing registers > > > > Dw

[PATCH v2] libdw/libdwfl: Add API for accessing registers

2022-07-19 Thread Di Chen via Elfutils-devel
>From 9c25b08e46c2031b569a85f91713d009b83f4c26 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Tue, 19 Jul 2022 14:54:45 +0800 Subject: [PATCH] libdw/libdwfl: Add API for accessing registers Dwfl has most of the infrastructure to keep the full unwind state, including the state of unwound registers p

[PATCH] libdw/libdwfl: Add API for accessing registers

2022-07-19 Thread Di Chen via Elfutils-devel
>From 8325b5311ff5618a7a66e5398652e2177cc53e78 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Tue, 19 Jul 2022 14:54:45 +0800 Subject: [PATCH] libdw/libdwfl: Add API for accessing registers Dwfl has most of the infrastructure to keep the full unwind state, including the state of unwound registers p

Re: [PATCH] readelf: Support --dynamic with --use-dynamic

2022-05-24 Thread Di Chen via Elfutils-devel
May 20, 2022 at 8:41 AM Mark Wielaard wrote: > Hi, > > On Thu, May 05, 2022 at 09:01:24PM +0800, Di Chen via Elfutils-devel wrote: > > From 3ac23c2584d76114deab0c0af6f4af99068dc7f4 Mon Sep 17 00:00:00 2001 > > From: Di Chen > > Date: Thu, 28 Apr 2022 19:55:33 +0800 &g

[PATCH] readelf: Support --dynamic with --use-dynamic

2022-05-05 Thread Di Chen via Elfutils-devel
>From 3ac23c2584d76114deab0c0af6f4af99068dc7f4 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Thu, 28 Apr 2022 19:55:33 +0800 Subject: [PATCH] readelf: Support --dynamic with --use-dynamic Currently, eu-readelf is using section headers to dump the dynamic segment information (print_dynamic -> handl

Re: Proposing elfutils-0.187 for Monday 25 April

2022-04-15 Thread Di Chen via Elfutils-devel
Hey Mark, The latest patch for PR28928 locates in bugzilla, and it's attached in https://sourceware.org/bugzilla/show_bug.cgi?id=28928 Di On Fri, Apr 15, 2022 at 6:41 PM Mark Wielaard wrote: > Hi, > > It has been 5 months since elfutils 0.186 was released. There have been > more than 70 commit

Re: [PATCH] readelf: PR28928 - wrong dynamic section entry number

2022-03-30 Thread Di Chen via Elfutils-devel
>From b0da0a6f6c9a57a37a144a806ecd219a76c66b54 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Tue, 1 Mar 2022 20:44:38 +0800 Subject: [PATCH] readelf: Don't consider padding DT_NULL as dynamic section entry when using `$ eu-readelf -d {FILE}` to get the number of dynamic section entris, it wrongly

Re: [PATCH] readelf: PR28928 - wrong dynamic section entry number

2022-03-22 Thread Di Chen via Elfutils-devel
Hey team, I made some changes for this patch: (1) update the commit message to make it more clear (2) tests/alldts.c needs the padding spaces for output comparison On Tue, Mar 1, 2022 at 8:54 PM Di Chen wrote: > commit 978663c5323cf402cd35b8614e41f24b587cbdd8 (HEAD -> dichen/DT_NULL, > origin/di

[PATCH] readelf: PR28928 - wrong dynamic section entry number

2022-03-01 Thread Di Chen via Elfutils-devel
commit 978663c5323cf402cd35b8614e41f24b587cbdd8 (HEAD -> dichen/DT_NULL, origin/dichen/DT_NULL) Author: Di Chen Date: Tue Mar 1 20:44:38 2022 +0800 readelf: PR28928 - wrong dynamic section entry number when using `$ eu-readelf -d {file}` to get the number of dynamic section entris,

[PATCH] debuginfod: PR28242 - extend server http-response metrics

2021-10-01 Thread Di Chen via Elfutils-devel
>From a574dfaf5d5636cbb7159a0118eb30e2c4aaa301 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Fri, 1 Oct 2021 22:03:41 +0800 Subject: [PATCH] debuginfod: PR28242 - extend server http-response metrics This patch aims to extend http_responses_* metrics with another label "type" by getting the extra a

[PATCH] PR27940 - The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")'

2021-09-10 Thread Di Chen via Elfutils-devel
>From a98718a1b97357e53cef966ed9826c69e159f46e Mon Sep 17 00:00:00 2001 From: Di Chen Date: Thu, 2 Sep 2021 12:52:47 +0800 Subject: [PATCH] The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")' The disappeared /* pc=0x... */ resulted from the missing implementation of the

Re: [PATCH] debuginfod: PR27917 - protect against federation loops

2021-08-20 Thread Di Chen via Elfutils-devel
Hey Frank, 1) moved the XFF check to handle_buildid. 2) replace "livelock" with "deadlock" in the commit message. - dichen On Thu, Aug 19, 2021 at 6:55 AM Frank Ch. Eigler wrote: > Hi - > > > This patch aims to reduce the risk by adding an option to debuginfod > > that functions kind of like

[PATCH] debuginfod: PR27917 - protect against federation loops

2021-08-12 Thread Di Chen via Elfutils-devel
>From a726d9868f4e02d390b9071180b0c3728da3750e Mon Sep 17 00:00:00 2001 From: Di Chen Date: Sun, 8 Aug 2021 16:57:12 +0800 Subject: [PATCH] debuginfod: PR27917 - protect against federation loops If someone misconfigures a debuginfod federation to have loops, and a nonexistent buildid lookup is at