[Ltrace-devel] [PATCH 08/11] Make some functions and datastructures global. Definitely a hack.

Karl Tomlinson karlt+ltrace at karlt.net
Thu Dec 23 01:23:27 UTC 2010


On Mon,  8 Nov 2010 15:47:41 -0800, Joe Damato wrote:

> @@ -478,6 +478,8 @@ read_elf(Process *proc) {
>  
>  	debug(DEBUG_FUNCTION, "read_elf(file=%s)", proc->filename);
>  
> +	library_symbols = NULL;
> +	library_num = 0;
>  	elf_version(EV_CURRENT);
>  
>  	do_init_elf(lte, proc->filename);

Does this play well with the -l option?

https://github.com/ice799/ltrace/blob/2c83b8ae5415a05ad781559a902d93b7f87e0ead/options.c#L318



More information about the Ltrace-devel mailing list