]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Track LibVEX API changes.
authorJulian Seward <jseward@acm.org>
Wed, 27 Oct 2004 23:04:12 +0000 (23:04 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 27 Oct 2004 23:04:12 +0000 (23:04 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@442

VEX/test_main.c

index df7bc5294543fdeac1c4e2ae1aee3b031c75c421..2ec0cec056caafadac97dd60f43b74bb179986bc 100644 (file)
@@ -73,7 +73,7 @@ int main ( int argc, char** argv )
 
    LibVEX_Init ( &failure_exit, &log_bytes, 
                  1,  /* debug_paranoia */ 
-                 1,  /* verbosity */
+                 0,  /* verbosity */
                  //False, 
                 True, /* valgrind support */
                  &vcon );
@@ -117,7 +117,10 @@ int main ( int argc, char** argv )
       LibVEX_Translate ( InsnSetX86, InsnSetX86,
                         origbuf, (Addr64)orig_addr, &orig_used,
                         transbuf, N_TRANSBUF, &trans_used,
-                        NULL, NULL, 0 );
+                        NULL, /* instrument */
+                         NULL, /* tool-findhelper */
+                         NULL, /* access checker */
+                         0 );
       if (tres != TransOK)
          printf("\ntres = %d\n", (Int)tres);
       assert(tres == TransOK);