more win32 gui fuzzer work
This commit is contained in:
@@ -175,6 +175,7 @@ E boolean NDECL(status_hilite_menu);
|
|||||||
|
|
||||||
E char NDECL(randomkey);
|
E char NDECL(randomkey);
|
||||||
E void FDECL(random_response, (char *, int));
|
E void FDECL(random_response, (char *, int));
|
||||||
|
E int NDECL(rnd_extcmd_idx);
|
||||||
E int NDECL(doconduct);
|
E int NDECL(doconduct);
|
||||||
E int NDECL(domonability);
|
E int NDECL(domonability);
|
||||||
E char FDECL(cmd_from_func, (int NDECL((*))));
|
E char FDECL(cmd_from_func, (int NDECL((*))));
|
||||||
|
|||||||
@@ -22,6 +22,5 @@ struct ext_func_tab {
|
|||||||
};
|
};
|
||||||
|
|
||||||
extern struct ext_func_tab extcmdlist[];
|
extern struct ext_func_tab extcmdlist[];
|
||||||
extern int extcmdlist_length;
|
|
||||||
|
|
||||||
#endif /* FUNC_TAB_H */
|
#endif /* FUNC_TAB_H */
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ int
|
|||||||
mswin_ext_cmd_window(int *selection)
|
mswin_ext_cmd_window(int *selection)
|
||||||
{
|
{
|
||||||
if (iflags.debug_fuzzer) {
|
if (iflags.debug_fuzzer) {
|
||||||
*selection = rn2(extcmdlist_length + 1) - 1;
|
*selection = rnd_extcmd_idx();
|
||||||
|
|
||||||
if (*selection != -1)
|
if (*selection != -1)
|
||||||
return IDOK;
|
return IDOK;
|
||||||
|
|||||||
Reference in New Issue
Block a user