|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2] Eclair: scan the last xen-syms linking pass on Arm
On 2026-10-07 19:12, Dmytro Prokopchuk1 wrote: The hide pattern .xen-syms.[013] leaves pass 2 visible. On x86 LAST_LINKING_PASS is 2, so that is the final link. On Arm LAST_LINKING_PASS is 3 and the final image is .xen-syms.3. Pass 2 isusually only a symlink, so Eclair saw no program link and reported everytranslation unit as unreachable. Before the analysis build, read LAST_LINKING_PASS from the architecture makefile and the pass numbers from the foreach list in xen/scripts/Makefile.link. Hide every pass except that one. An earlier pass that is a real link stays hidden.Fixes: a401b5c9dc35 ("Eclair: re-enable scanning of the (almost) final linking step")Signed-off-by: Dmytro Prokopchuk <dmytro_prokopchuk1@xxxxxxxx> ---Current patch isn't tested, sent just for review (if this accepted, I'll run pipeline).Changes in v2: - update commit message - generate hide pattern before analysis- read LAST_LINKING_PASS from the arch Makefile and pass numbers from the Makefile.linkLink to v1: https://patchew.org/Xen/2f67ef7c4593d3ab94b75b5b819e7e046e055796.1791293680.git.dmytro._5Fprokopchuk1@xxxxxxxx/ --- .../eclair_analysis/ECLAIR/analysis.ecl | 2 +- automation/eclair_analysis/ECLAIR/analyze.sh | 3 +++ .../ECLAIR/generate-xen-syms-passes.sh | 20 +++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-)create mode 100755 automation/eclair_analysis/ECLAIR/generate-xen-syms-passes.shdiff --git a/automation/eclair_analysis/ECLAIR/analysis.ecl b/automation/eclair_analysis/ECLAIR/analysis.eclindex c6e1a7a95d..df1006bcaa 100644 --- a/automation/eclair_analysis/ECLAIR/analysis.ecl +++ b/automation/eclair_analysis/ECLAIR/analysis.ecl @@ -37,7 +37,7 @@ their Standard Library equivalents."-doc_begin="Do not analyze intermediate linking artifacts, as they do not differ from their final diff --git a/automation/eclair_analysis/ECLAIR/analyze.sh
b/automation/eclair_analysis/ECLAIR/analyze.sh
I would prefer it integrated in [1] instead, running in prepare.sh. At least we keep these calls to ECL generation scripts together. [1] https://gitlab.com/xen-project/hardware/xen/-/blob/staging/automation/eclair_analysis/ECLAIR/generate_ecl.sh?ref_type=heads
-- Nicola Vetrini, B.Sc. Software Engineer BUGSENG (https://bugseng.com) LinkedIn: https://www.linkedin.com/in/nicola-vetrini-a42471253
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |