mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-24 17:17:03 +08:00
sys: add the possibility to fuzz what sys_now() returns
This commit is contained in:
@@ -445,6 +445,11 @@ void sys_init(void);
|
||||
u32_t sys_jiffies(void);
|
||||
#endif
|
||||
|
||||
#ifdef LWIP_FUZZ_SYS_NOW
|
||||
/* This offset should be added to the time 'sys_now()' returns */
|
||||
extern u32_t sys_now_offset;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @ingroup sys_time
|
||||
* Returns the current time in milliseconds,
|
||||
|
||||
Reference in New Issue
Block a user