| 1 |
build and install gcc to $prefix, then run: |
| 2 |
|
| 3 |
LD_LIBRARY_PATH=$prefix/lib64 CXX=$prefix/bin/g++ make run |
| 4 |
Build and run with continuation mode on; will print violation info from the |
| 5 |
standard handler and then continue to print "returning from main" |
| 6 |
|
| 7 |
LD_LIBRARY_PATH=$prefix/lib64 CXX=$prefix/bin/g++ make runnostd |
| 8 |
Build and run with continuation mode on, using the default violation handler |
| 9 |
while preloading the 'nocontinue' hook. This uses LD_PRELOAD to turn all |
| 10 |
continuing contract violations into non-continuing versions. |
| 11 |
|
| 12 |
Will print violation info from the standard handler and then terminate -- it |
| 13 |
will not print "returning from main" |
| 14 |
|
| 15 |
LD_LIBRARY_PATH=$prefix/lib64 CXX=$prefix/bin/g++ make runno |
| 16 |
Build and run with continuation mode on, using a custom violation handler |
| 17 |
while preloading the 'nocontinue' hook. This uses LD_PRELOAD to turn all |
| 18 |
continuing contract violations into non-continuing versions and to install a |
| 19 |
custom violation handler. |
| 20 |
|
| 21 |
Will print violation info from the custom handler and then terminate -- it |
| 22 |
will not print "returning from main" |
| 23 |
|