BSD libc / "string"

  1. Introduction
  2. Function frequency count script
  3. string
  4. continue...

Last updated 2001-07-30 5:37 pm


Functions in libc/string

There are 4 categories in libc/string functions, string, bstring, bm, and others.

List of functions in libc/string/
     
### string ### strcat strlcat strncat strchr strrchr strcmp strncmp strcasecmp strncasecmp strcpy strlcpy strncpy strerror strlen strpbrk strsep strspn strcspn strstr strtok index rindex ### bstring ### bcmp bcopy bzero memccpy memchr memcmp memcpy memmove memset ### bm ### bm_comp bm_exec bm_free ### others ### ffs strcoll strdup strmode strsignal strxfrm swab

Obsolete:

Secure:

Vulnerable:

Frequency statistics

Frequencies of STRING functions in src/
     
strlen : 6483 strcmp : 5289 strcpy : 2883 bcopy : 2838 memcpy : 2377 bzero : 2330 memset : 2302 strchr : 2189 strncmp : 1837 strerror : 1303 strncpy : 1257 strcat : 999 strcasecmp : 960 strlcpy : 774 strdup : 772 strrchr : 587 memcmp : 455 memmove : 406 bcmp : 394 strncasecmp : 342 strstr : 311 strtok : 248 strlcat : 156 strsep : 150 strpbrk : 117 strncat : 104 index : 92 ffs : 90 strspn : 64 memchr : 45 strcspn : 43 strsignal : 12 strmode : 11 strcoll : 8 strxfrm : 5 rindex : 5 memccpy : 1 bm_free : 1 swab : 1 bm_exec : 0 bm_comp : 0