Re: Question about strings of string_choices.h

2025-02-24 Thread Kuninori Morimoto
Hi Kees > > I would like to use string_choices helper, and want to add well used > > but not yet supported strings. But before that I would like to ask one > > thing about it. > > > > I wonder is it guaranteed that the strings were persist after the > > function returned ? In normally, function

Re: Question about strings of string_choices.h

2025-02-24 Thread Kees Cook
On Tue, Feb 25, 2025 at 01:43:55AM +, Kuninori Morimoto wrote: > > Hi Kees, Andy > > I would like to use string_choices helper, and want to add well used > but not yet supported strings. But before that I would like to ask one > thing about it. > > I wonder is it guaranteed that the strings

Question about strings of string_choices.h

2025-02-24 Thread Kuninori Morimoto
Hi Kees, Andy I would like to use string_choices helper, and want to add well used but not yet supported strings. But before that I would like to ask one thing about it. I wonder is it guaranteed that the strings were persist after the function returned ? In normally, function local variable wi