7 #if (CONFIG_PLATFORM & PLATFORM_NATIVE)
8 /* check whether a function is inside the valid memory location */
9 #define IS_FUNCPTR(fp) ({/
11 extern char _etext
[];/
12 ((((char *)(fp
)) >= _text
) && (((char *)(fp
)) < _etext
)/
15 /* check whether a function is inside the valid memory location */
16 #define IS_FUNCPTR(fp) (((char*)(fp)) != NULL)
19 /* check whether a function is inside the valid memory location */
20 #define IS_FUNCPRT (fp) true
24 #endif // #ifndef __DBGCHECK_H__