about summary refs log tree commit diff homepage
path: root/runtime/klee-libc/mempcpy.c
blob: c1cc175c4791a11f62e0af2ad4e37a3a6521b719 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*===-- mempcpy.c ---------------------------------------------------------===//
//
//                     The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===*/

#undef _GNU_SOURCE

#include <string.h>

void *mempcpy(void *destaddr, void const *srcaddr, size_t len) {
  return (char *)memcpy(destaddr, srcaddr, len) + len;
}