/** \file Libunwind namespace implementation using process_vm_readv. */
-/* Copyright (c) 2015-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2015-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
// On older kernels, it is necessary to ptrace the target process.
size_t count = size;
auto off = static_cast<off_t>(addr);
- auto* buf = reinterpret_cast<char*>(valp);
+ auto* buf = reinterpret_cast<std::byte*>(valp);
int fd = simgrid::mc::open_vm(pid, O_RDONLY);
if (fd < 0)
return -UNW_EINVAL;