Make get_interesting_32bit_value() static
PATCH 4/7 Make get_interesting_32bit_value() static
From: Tyson Smith <[email protected]>
All calls to get_interesting_32bit_value() should now be made to get_interesting_value() to help simplify generating interesting values.
--- include/sanitise.h | 1 - interesting-numbers.c | 2 +- random.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-)
include/sanitise.h +0 -1
@@ -6,7 +6,6 @@ void generic_sanitise(struct syscallrecord *rec);void generic_free_arg (struct syscallrecord *rec);unsigned long get_interesting_value (void ); -unsigned int get_interesting_32bit_value (void );void *get_address (void );void *get_non_null_address (void );
interesting-numbers.c +1 -1
@@ -55,7 +55,7 @@ static int get_interesting_16bit_value(void)return num; } -unsigned int get_interesting_32bit_value (void ) +static unsigned int get_interesting_32bit_value (void ) {unsigned int num =0 ;
random.c +1 -1
@@ -138,7 +138,7 @@ static unsigned int __rand32(void)break ;case 4 : r =rept8 (4 );break ; -case 5 :return get_interesting_32bit_value (); +case 5 :return get_interesting_value (); }return r;
Signature · 1 line
1.9.1