⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 r2protos.h

📁 这是一个C程序分析工具
💻 H
字号:
/*==================================================*/
/* UNIT   : @(#)r2protos.h	2.3  -  08/04/99 */
/*==================================================*/

#ifndef __R2PROTOS_H__
#define __R2PROTOS_H__

#ifdef __cplusplus
extern "C" {
#endif

int R2True(char * R2srcfile_ptr, int line);
/*  Entered when a expresion for an if, for, or while statement is*/
/*  encountered and returns true.  Writes to the current trace,*/
/*  gCurrentTrace.  Inputs include the source file and the line number of */
/*  the instrumented if, for, or while statement.  */
int R2False(char * R2srcfile_ptr, int line);
/*  Entered when a expresion for an if, for, or while statement is */
/*  encountered and returns false.  Writes to the current trace,  */
/*  gCurrentTrace.  Inputs include the source file and the line number of */
/*  the instrumented if, for, or while statement. */
int R2Switch(char * R2srcfile_ptr, int line, int switchValue);
/*  Entered when a switch statement is encountered.  Writes to the current */
/*  trace, gCurrentTrace.  Inputs include the source file, the line */
/*  number, and the switch value for the instrumented switch.*/
int R2Close(int RtnValue);
/*  Close the current trace, gCurrentTrace.*/
int R2Suspend();
/*  Sets R2STATUS to suspend for the current trace.*/
int R2Resume();
/*  If R2STATUS is currently in R2SUSPEND then status will be changed to*/
/*  R2OPEN for the current trace.*/
int R2Comment(char *msg_ptr);
/*  Writes the message to the current trace file, gCurrentTrace.*/
int R2NewTrace(char *r2newfile);
/*  Closes the current trace if R2STATUS not R2CLOSED already.  Then calls*/
/*  R2Open to open the new trace file r2newfile.  */
int R2Entry(char * R2srcfile_ptr, int line);
/*  Entered at the beginning of a function and returns the value 1. Writes*/
/*  to the current trace, gCurrentTrace.  Inputs include the source file  */
/*  and the line number of the instrumented entry point. */


#ifdef __cplusplus
}
#endif

#endif  /* __R2PROTOS_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -