lect16-valgrind-dyninst

lect16-valgrind-dyninst - CMSC 714 Lecture 16 Valgrind and...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CMSC 714 Lecture 16 Valgrind and DynInst Alan Sussman 2 Notes ! Midterm exam scheduled for Nov. 17 move to Tues, Nov. 22? sample exam questions posted soon ! Talk to me after class if you want access to GPU cluster for your project 3 Valgrind ! Framework for building dynamic binary analysis tools works on program binaries instrumentation inserted before the program runs provides basic services that a tool writer can use to perform dynamic analyses basic mechanism is shadow values ! Shadow values heavyweight instrumentation basic idea is to maintain a copy of all program state for an analysis tool to use (and tool can add more state needed for its analysis) 9 requirements, 3 classes shadow state registers and memory read/write operations instrument instructions (loads and stores) and system calls arguments and return values to/ from registers/memory, and via pointers allocation/deallocation operations start-up (registers, static...
View Full Document

Page1 / 2

lect16-valgrind-dyninst - CMSC 714 Lecture 16 Valgrind and...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online