Messages in this thread |  | | | From | Keith Owens <> | | Subject | Re: reference_init.pl for Linux 2.6 | | Date | Thu, 19 Feb 2004 23:00:48 +1100 |
| |
On Wed, 18 Feb 2004 18:23:13 -0800, "Randy.Dunlap" <rddunlap@osdl.org> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |