Instrument
Home WeChat: cstutorcs QQ: 749389476 #include “Instrument.h” using namespace llvm; namespace instrument { static const char *SanitizerFunctionName = “__dbz_sanitizer__”; static const char *CoverageFunctionName = “__coverage__”; * Implement divide-by-zero sanitizer. void instrumentSanitizer(Module *M, Function &F, Instruction &I) { /* Add your code here */ int divisor = 0; int line = 0; int column = 0; […]