-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New working model of strlen - Symbolic Test yet to be updated * Updated modeling test for all symbolic input * Fixed code climate issue * Adding binary for new test * Updated test to use sets for compairison * Removed length compairison * Fix argument concretization indexing * Preserve both model implementation strategies * Corrected formatting * Removed whitespace for code climate * Removed whitespace for code climate Co-authored-by: Eric Kilmer <eric.d.kilmer@gmail.com>
- Loading branch information
Showing
4 changed files
with
176 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include <stdio.h> | ||
#include <string.h> | ||
#include <unistd.h> | ||
#define LEN 5 | ||
|
||
int main() { | ||
char str[LEN]; | ||
read(0, str, sizeof(str)); | ||
|
||
int a = strlen(str); | ||
printf("Length of string is: %d", a); | ||
|
||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters