Add Valgrind and ASan to Ex4.
This commit is contained in:
parent
f4fb881238
commit
0075236cfb
|
@ -12,6 +12,7 @@ The Plan
|
||||||
====
|
====
|
||||||
|
|
||||||
* See how GDB works (LLDB on OSX).
|
* See how GDB works (LLDB on OSX).
|
||||||
|
* Look at memory checkers like Valgrind and AddressSanitizer.
|
||||||
* Cover the quick reference.
|
* Cover the quick reference.
|
||||||
* Debug a program.
|
* Debug a program.
|
||||||
|
|
||||||
|
@ -27,6 +28,30 @@ Using LLDB
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Using Valgrind
|
||||||
|
====
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Using Lint
|
||||||
|
====
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Using AddressSanitizer
|
||||||
|
====
|
||||||
|
|
||||||
|
You neeed clang for this.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
"The Debugger"
|
||||||
|
====
|
||||||
|
|
||||||
|
When I say "the debugger" in the book I mean to use GDB, but use
|
||||||
|
every tool you can find that helps.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
End Of Lecture 4
|
End Of Lecture 4
|
||||||
=====
|
=====
|
||||||
|
|
Loading…
Reference in New Issue