commit | dafd0940c96fec67974a88ed8e6b8ba3160394cd | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Tue Jul 22 19:24:25 2008 -0500 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Jul 22 19:24:26 2008 +1000 |
tree | 616da8f0f283509ec71ff2d6e467fa4c6877edc6 | |
parent | da39ba5e1d65e997a98f6eb93ba6e6eb505f6e3c [diff] |
module: generic each_symbol iterator function Introduce an each_symbol() iterator to avoid duplicating the knowledge about the 5 different sections containing symbols. Currently only used by find_symbol(), but will be used by symbol_put_addr() too. (Includes NULL ptr deref fix by Jiri Kosina <jkosina@suse.cz>) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Jiri Kosina <jkosina@suse.cz>