|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3] Eclair: scan the last xen-syms linking pass on Arm
On 2026-10-12 22:49, 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.During analysis preparation, read LAST_LINKING_PASS from the architecturemakefile 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. The generator runs from generate_ecl.sh, together with the other ECLAIR configuration scripts.Fixes: a401b5c9dc35 ("Eclair: re-enable scanning of the (almost) final linking step")Signed-off-by: Dmytro Prokopchuk <dmytro_prokopchuk1@xxxxxxxx> Acked-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx> Thanks for spotting and fixing this! ---Test CI pipeline: https://gitlab.com/xen-project/people/dimaprkp4k/xen/-/pipelines/2940065908Changes in v3:- generate the hide pattern from generate_ecl.sh, which prepare.sh already runsLink to v2: https://patchew.org/Xen/e73c282694e68083305d03219f983bf74a8bf494.1791392326.git.dmytro._5Fprokopchuk1@xxxxxxxx/ 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.link--- .../eclair_analysis/ECLAIR/analysis.ecl | 2 +- .../ECLAIR/generate-xen-syms-passes.sh | 20 +++++++++++++++++++ .../eclair_analysis/ECLAIR/generate_ecl.sh | 3 +++ 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 -- 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 |