diff options
| author | Martin Nowack <m.nowack@imperial.ac.uk> | 2023-02-23 22:06:10 +0000 |
|---|---|---|
| committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-03-17 22:38:16 +0000 |
| commit | 38b07e7a89f103dc3b690be5382b5a0d9f5aa7fe (patch) | |
| tree | 4a7fc89d0976bd6af96540626dc4e8203a7f5342 /tools/klee-replay/file-creator.c | |
| parent | 03fa34c4e51351b357b84a27c705aac5e0a5e68b (diff) | |
| download | klee-38b07e7a89f103dc3b690be5382b5a0d9f5aa7fe.tar.gz | |
Fix building of runtime library and klee-replay
Former build system provided additional flags for building bitcode while they were not required, e.g. under BSD or MacOS.
Diffstat (limited to 'tools/klee-replay/file-creator.c')
| -rw-r--r-- | tools/klee-replay/file-creator.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/klee-replay/file-creator.c b/tools/klee-replay/file-creator.c index e103a39f..a1685a02 100644 --- a/tools/klee-replay/file-creator.c +++ b/tools/klee-replay/file-creator.c @@ -290,7 +290,7 @@ static int create_pipe(const char *fname, exe_disk_file_t *dfile, } } - +int futimes(int fd, const struct timeval tv[2]); static int create_reg_file(const char *fname, exe_disk_file_t *dfile, const char *tmpdir) { struct stat64 *s = dfile->stat; @@ -395,6 +395,7 @@ static void create_file(int target_fd, char replay_dir[] = "/tmp/klee-replay-XXXXXX"; +char *mkdtemp(char *template); void replay_create_files(exe_file_system_t *exe_fs) { unsigned k; |
