diff --git a/tools/Vtable scanner/main.cpp b/tools/Vtable scanner/main.cpp index 050bfe71d..e1d48a138 100644 --- a/tools/Vtable scanner/main.cpp +++ b/tools/Vtable scanner/main.cpp @@ -38,6 +38,11 @@ int main(int argc, char **argv) pVtable = (void **)dlsym(handle, argv[2]); + if (pVtable == NULL) + { + printf("Invalid vtable symbol \"%s\"\n", argv[2]); + } + if (argc >= 5) { params = argv[4];