DynamoRIO
create_annotation.p4

Next, modify elements of the annotation definition to match the header:

#include "dr_annotations.h"
+DR_DEFINE_ANNOTATION(void, memclient_mark_mem_defined_if_addressable,
+ (void *p, size_t size), )

The last argument to the macro is now empty, since the annotation is now void and no longer requires (or allows) a return statement.

[ prev | next ]