--- title: "create_annotation" layout: default permalink: /API_tutorial_annotation1.html ---
DynamoRIO
|
In this tutorial we'll create a new annotation MEMCLIENT_MARK_MEM_DEFINED_IF_ADDRESSABLE() for use in a hypothetical client named MemClient that detects use of uninitialized variables. Since an annotation definition has several detailed requirements, it will be easiest to start with a copy of a DynamoRIO annotation and transform it into the new annotation. The first step is to copy the DynamoRIO souce file core/lib/dr_annotations.h: