tools/Vtable scanner/main.cpp
changeset 2143 ad12a83e4acd
parent 2127 c57f9982d03e
child 2144 ed5a612729e1
     1.1 --- a/tools/Vtable scanner/main.cpp	Tue Jul 01 09:48:17 2008 +0000
     1.2 +++ b/tools/Vtable scanner/main.cpp	Tue Jul 01 23:42:19 2008 +0000
     1.3 @@ -38,6 +38,11 @@
     1.4  
     1.5  	pVtable = (void **)dlsym(handle, argv[2]);
     1.6  
     1.7 +	if (pVtable == NULL)
     1.8 +	{
     1.9 +		printf("Invalid vtable symbol \"%s\"\n", argv[2]);
    1.10 +	}
    1.11 +
    1.12  	if (argc >= 5)
    1.13  	{
    1.14  		params = argv[4];