Skip to content

Valgrind with record-replay functionality

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
COPYING
Unknown
COPYING.DOCS
Notifications You must be signed in to change notification settings

dpc-grindland/valgrindrr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValgrindRR

Make a record-replay debugging functionality into Valgrind 3.9.0.

We still consider make a Valgrind tool with RR-functionality or make patch to Valgrind core to let it support RR.

We want to use record-replay functionality with vgdb for debugging.

We are now doing the plan on valgrindrr_porting branch which is porting Mojiong's valgrindrr (for valgrind 3.3) to valgrind 3.9.

valgrindrr_porting branch

building step

same as valgrind. refer to build valgrind tool

./autogen.sh
./configure --prefix=`pwd`/inst
make
make install

The executable is inst/bin/valgrind.

testing command

  • record:

    valgrind --record-replay=1 --log-file-rr=<log_file> <exe> <exe_args>
    

<exe> and <exe_args> is client program we want to run on the valgrindrr.

  • replay:

    valgrind --record-replay=2 --log-file-rr=<log_file>
    

testing scenario

RR functionality testing codes are in rr_testcode directory.

  • bugs
    • #1 is for localtime_test.c, the part of /bin/date program
    • #2 is for file_IO.c.

About

Valgrind with record-replay functionality

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
COPYING
Unknown
COPYING.DOCS

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.9%
  • C++ 2.4%
  • Assembly 1.0%
  • Perl 0.5%
  • Shell 0.2%
  • Haskell 0.0%