manticore icon indicating copy to clipboard operation
manticore copied to clipboard

More models for the c string library

Open MatthewARinehart opened this issue 4 years ago • 0 comments

Why

As a Manticore user, I want to work with binaries that frequently perform string manipulation. Since symbolic string manipulation can be computationally intensive, I'd rather use a high-level model of the string API that eliminates the overhead from symbolically executing every instruction.

Acceptance Criteria

Manticore provides built-in models for the following string functions:

  • [x] strcpy - copy a string (#1681)
  • [x] strlen - get string length (#1752)
  • [x] strncpy - copy part of a string (#1761)
  • [ ] strcmp - compare two strings (#1762)
  • [ ] strncmp - compare parts of two strings (#1763)
  • [ ] strcat - concatenate two strings (#1764)
  • [ ] strncat - concatenate one string with part of another (#1765)
  • [ ] strchr - string scanning operation (#1766)
  • [ ] strrchr - string scanning operation (#1767)

MatthewARinehart avatar Jun 18 '20 22:06 MatthewARinehart