|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [RFC PATCH] automation: add linker symbol name script
On 2024-07-24 02:18, victorm.lira@xxxxxxx wrote: From: Victor Lira <victorm.lira@xxxxxxx> Hi, Add a script that extracts the names of symbols in linker scripts. Signed-off-by: Victor Lira <victorm.lira@xxxxxxx> --- Note:Not included are the "." location name or symbol names enclosed in quotessince the files dont't use any. --- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx> Cc: roberto.bagnara@xxxxxxxxxxx Cc: consulting@xxxxxxxxxxx Cc: simone.ballarin@xxxxxxxxxxx --- automation/eclair_analysis/linker_symbols.sh | 41 +++++++++++++++++++ automation/eclair_analysis/stuff.txt | 42 ++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100755 automation/eclair_analysis/linker_symbols.sh create mode 100644 automation/eclair_analysis/stuff.txtdiff --git a/automation/eclair_analysis/linker_symbols.sh b/automation/eclair_analysis/linker_symbols.shnew file mode 100755 index 0000000000..c8c44e235f --- /dev/null +++ b/automation/eclair_analysis/linker_symbols.sh @@ -0,0 +1,41 @@ +#!/bin/bash+# Stop immediately if any executed command has exit status different from 0.+set -e ++# Extract linker symbol names (except those starting with ".") from assignments. I wouldn't include the actual output in the patch. It' much better if I have a script that produces a list of symbols, and then use that to generate a configuration file right before the analysis. @@ -0,0 +1,42 @@ +_start +_idmap_start +_idmap_end +__proc_info_start +__proc_info_end +__note_gnu_build_id_start +__note_gnu_build_id_end +__ro_after_init_start +__ro_after_init_end +__start___ex_table +__stop___ex_table +__start___pre_ex_table +__stop___pre_ex_table +__start_schedulers_array +__end_schedulers_array +_splatform +_eplatform +_sdevice +_edevice +_asdevice +_aedevice +_steemediator +_eteemediator +__init_begin +_sinittext +_einittext +__setup_start +__setup_end +__initcall_start +__presmp_initcall_end +__initcall_end +__alt_instructions +__alt_instructions_end +__ctors_start +__ctors_end +__init_end_efi +__init_end +__bss_start +__per_cpu_start +__per_cpu_data_end +__bss_end +_end -- 2.37.6 -- Nicola Vetrini, BSc Software Engineer, BUGSENG srl (https://bugseng.com)
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |