Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-03-22 | Implement syscall readlinkat | Ming-Yi Lai | 1 | -0/+14 | |
2023-04-20 | Close file descriptors in destructor of syscall_t | Yinan Xu | 1 | -3/+10 | |
2022-12-15 | Add config.h includes directly to source files instead of relying on header ↵ | Jerry Zhao | 1 | -0/+1 | |
chaining This step is to ensure that removing config.h out of headers will not cause regressions. | |||||
2022-10-04 | Silence remaining unused-parameter warnings | Andrew Waterman | 1 | -0/+4 | |
Suppressing these individually would add too much clutter. | |||||
2021-08-26 | fesvr: replace use of `std::vector::operator[0]` | Saleem Abdulrasool | 1 | -35/+35 | |
This replaces multiple uses of `std::vector::operator[]` where the parameter is a constant `0` with the use of C++11's `std::vector::data` method. This fixes the root cause of invalid memory accesses. `std::vector::operator[]` is an unchecked memory access, and when the buffers are zero-sized (that is the buffer container is empty) either due to a 0 padding in the case of elfloader or NULL parameters to syscalls where permitted, the unchecked access may cause an invalid memory access. The use of `std::vector::data` is permitted even in such a case, though the returned memory may not be dereferenced. The general usage of the returned pointer is to pass to `memif_t`, which is careful about 0-sized buffer accesses, and so passing the result of `std::vector::data` is safe. This is theoretically a better access pattern as it also avoids having the compiler to re-materialize the pointer from the de-referenced location. | |||||
2021-03-25 | Fix Ubuntu 16.04 build | Andrew Waterman | 1 | -0/+6 | |
Was broken by #681. | |||||
2021-03-25 | Add `statx` syscall | huaixv | 1 | -0/+94 | |
2020-11-16 | Fix byteorder issues with struct riscv_stat (#596) | Marcus Comstedt | 1 | -32/+39 | |
2020-11-07 | Tag target endian values to help guide conversion code | Marcus Comstedt | 1 | -4/+4 | |
2020-11-07 | Implement support for big-endian targets | Marcus Comstedt | 1 | -5/+5 | |
2019-10-28 | Implement support for big-endian hosts | Marcus Comstedt | 1 | -5/+6 | |
2019-03-31 | Add fesvr; only globally install fesvr headers/libsstatic-link | Andrew Waterman | 1 | -0/+394 | |