Home

Bjorn Reese
There is a newer version of this page. You can find it here.

Decoy

Decoy is a program instrumentation extension for the clang compiler.

Program instrumentation is done via the Decoy programming language.

Examples

@begin
{
  print("Program starts");
}

@end
{
  print("Program stops");
}

@enter:main
{
  print("Entering main()");
}

@leave:main
{
  print("Leaving main()");
}

MongoDB Logo MongoDB