On 8/20/25 10:47 AM, Steven Rostedt wrote:
> +/**
> + * for_each_shdr_str - iterator that reads strings that are in an ELF
> section.
> + * @len: "int" to hold the length of the current string
> + * @ehdr: A pointer to the ehdr of the ELF file
> + * @sec: The section that has the strings to iterater on
iterate> + *
> + * This is a for loop that iterates over all the nul terminated strings
> + * that are in a given ELF section. The variable "str" will hold
> + * the current string for each iteration and the passed in @len will
> + * contain theh strlen() of that string.
the
> + */
--
~Randy
- [PATCH v6 0/3] tracepoints: Add warnings for unused trac... Steven Rostedt
- [PATCH v6 2/3] tracing: Add a tracepoint verificati... Steven Rostedt
- Re: [PATCH v6 2/3] tracing: Add a tracepoint ve... Randy Dunlap
- Re: [PATCH v6 2/3] tracing: Add a tracepoin... Steven Rostedt
- Re: [PATCH v6 2/3] tracing: Add a trace... Randy Dunlap
- Re: [PATCH v6 2/3] tracing: Add a tracepoint ve... kernel test robot
- [PATCH v6 3/3] tracepoint: Do not warn for unused e... Steven Rostedt
- [PATCH v6 1/3] sorttable: Move ELF parsing into scr... Steven Rostedt
