new facilities to test memory overflow in main.c

This commit is contained in:
Roberto Ierusalimschy
2002-12-04 15:29:05 -02:00
parent 76de732745
commit 38da8c0d7d
2 changed files with 16 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltests.h,v 1.18 2002/11/12 14:34:18 roberto Exp roberto $
** $Id: ltests.h,v 1.19 2002/11/19 17:42:32 roberto Exp roberto $
** Internal Header for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -54,6 +54,11 @@ int luaB_opentests (lua_State *L);
#define LUA_EXTRALIBS { "tests", luaB_opentests },
/* real main will be defined at `ltests.c' */
int l_main (int argc, char *argv[]);
#define main l_main
/* change some sizes to give some bugs a chance */