-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ekilmer-dev
* master: (23 commits) Update make_VMTests.py (#1628) Update manticore.py (#1627) Symbolic function strategies. (#1609) Fix for returndatasize (#1612) Improve balance related exploration (#1615) Add __format__ to Account (#1613) Use `mypy` to check the `tests` dir; fix some typing errors (#1610) Add a native example program & test case for #1604 (#1606) Hotfix: add long_description_content_type Manticore 0.3.3 (#1598) Improve WASM Memory Ergonomics (#1589) Make sure std files are not None before assigning peer (#1604) Add Examples badge to CI Badges (#1603) Better iterative optimization for expressions (#1599) Fix Regression(s) (#1577) Add missing `python3-dev` dep to quickstart instructions (#1600) Add license to setup.py (#1597) Streamline State Serialization Interface (#1596) Simplify ci.yml (#1588) Fix gas check (#1587) ...
- Loading branch information
Showing
43 changed files
with
1,307 additions
and
436 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
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 |
---|---|---|
|
@@ -96,3 +96,6 @@ venvpy27/ | |
|
||
# PyCharm files | ||
.idea/ | ||
|
||
# mypy cache | ||
.mypy_cache/ |
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
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
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
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 @@ | ||
arguments | ||
basic | ||
crackme | ||
crackme.c | ||
fclose | ||
helloworld | ||
ibranch | ||
indexhell | ||
nostdlib | ||
sendmail | ||
simple_copy | ||
simpleassert | ||
sindex | ||
strncmp |
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
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,31 @@ | ||
// This example closes file descriptors 0, 1, and 2 (which correspond to stdin, | ||
// stdout, and stderr in most environments). | ||
// | ||
// This serves as a reduced testcase for what most of the programs in GNU | ||
// coreutils do. See #1602 and #1604 on GitHub. | ||
|
||
#include <stdbool.h> | ||
#include <stdio.h> | ||
#include <string.h> | ||
|
||
int main(int argc, char **argv) { | ||
if (argc >= 2 && strcmp(argv[1], "--close") == 0) { | ||
fprintf(stdout, "Closing file handles!\n"); | ||
|
||
int rc = 0; | ||
if (fclose(stdin) != 0) { | ||
rc += 1; | ||
} | ||
if (fclose(stdout) != 0) { | ||
rc += 2; | ||
} | ||
if (fclose(stderr) != 0) { | ||
rc += 4; | ||
} | ||
|
||
return rc; | ||
} else { | ||
fprintf(stdout, "Not doing anything.\n"); | ||
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
Oops, something went wrong.