X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=main.cc;fp=main.cc;h=502f499eff9cb2de956256bb6f24b84080e600e0;hb=01f8364dda87f16e1a8823232c2d90de1d5168a6;hp=0d1fa1cc31bb93e3c8e740886f8464dc379d788d;hpb=178fa56c36e45267d59c545dea0b9c7be93a4e1e;p=model-checker.git diff --git a/main.cc b/main.cc index 0d1fa1c..502f499 100644 --- a/main.cc +++ b/main.cc @@ -270,6 +270,18 @@ int main(int argc, char **argv) main_argc = argc; main_argv = argv; + /* + * If this printf statement is removed, CDSChecker will fail on an + * assert on some versions of glibc. The first time printf is + * called, it allocated internal buffers. We can't easily snapshot + * libc since we also use it. + */ + + printf("CDSChecker\n" + "Copyright (c) 2013 Regents of the University of California. All rights reserved.\n" + "Distributed under the GPLv2\n" + "Written by Brian Norris and Brian Demsky\n\n"); + /* Configure output redirection for the model-checker */ redirect_output();