Re: reference_init.pl for Linux 2.6

From: Keith Owens
Date: Thu Feb 19 2004 - 07:02:39 EST


On Wed, 18 Feb 2004 18:23:13 -0800,
"Randy.Dunlap" <rddunlap@xxxxxxxx> wrote:
>I have updated Keith Owens "reference_init.pl" script for
>Linux 2.6. It searches for code that refers to other code
>sections that they should not reference, such as init code
>calling exit code or v.v.
>script for Linux 2.6 is at:
>http://developer.osdl.org/rddunlap/scripts/reference_init26.pl

You added '$from !~ /\.data/'. Any references from the .data section
to .init or .exit text should be checked. It is usually a struct
containing a pointer to code that will be discarded, and is dangerous.

There is also a spurious comment line,
# $from !~ $line && $line !~ $from &&

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/