Instrumenting self-modifying code

Computer Science – Software Engineering

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

In M. Ronsse, K. De Bosschere (eds), proceedings of the Fifth International Workshop on Automated Debugging (AADEBUG 2003), Se

Scientific paper

Adding small code snippets at key points to existing code fragments is called instrumentation. It is an established technique to debug certain otherwise hard to solve faults, such as memory management issues and data races. Dynamic instrumentation can already be used to analyse code which is loaded or even generated at run time.With the advent of environments such as the Java Virtual Machine with optimizing Just-In-Time compilers, a new obstacle arises: self-modifying code. In order to instrument this kind of code correctly, one must be able to detect modifications and adapt the instrumentation code accordingly, preferably without incurring a high penalty speedwise. In this paper we propose an innovative technique that uses the hardware page protection mechanism of modern processors to detect such modifications. We also show how an instrumentor can adapt the instrumented version depending on the kind of modificiations as well as an experimental evaluation of said techniques.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Instrumenting self-modifying code does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Instrumenting self-modifying code, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Instrumenting self-modifying code will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-690408

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.