FreeBSD/usr.sbin/pmcannotate/pmcannotate.c
/*
 * Identifies a string cointaining objdump's assembly printout.
 */
Identifies a string cointaining objdump's assembly printout.
Identifies a string cointaining objdump ' s assembly printout .
static inline int
isasminline(const char *str)
{
	void *ptr;
	int nbytes;
	if (sscanf(str, " %p%n", &ptr, &nbytes) != 1)
		return (0);
	if (str[nbytes] != ':' || isspace(str[nbytes + 1]) == 0)
		return (0);
	return (1);
}
static inline int isasminline ( const char * str ) { void * ptr ; int nbytes ; if ( sscanf ( str , " " , & ptr , & nbytes ) != 1 ) return ( 0 ) ; if ( str [ nbytes ] != ' ' || isspace ( str [ nbytes + 1 ] ) == 0 ) return ( 0 ) ; return ( 1 ) ; }
Identifies a string cointaining objdump's assembly printout.
Identifies a string cointaining objdump ' s assembly printout .