-
I need to run mosquitto (client using libmosquitto) on a platform which has a Linux kernel without `CLOCK_BOOTTIME` but where the libc headers declare `CLOCK_BOOTTIME`, since they are decoupled from t…
-
## Input C code (test.c)
```c
#include
int globe = 35;
int* fn1(int strd) {
static int result;
result = globe;
if (strd > 2) {
result += 4;
}
result += …
-
One important invariant of Miri is that when an interpreter error is raised (*in particular* a UB error), those must not be discarded: it's not okay to just check `foo().is_err()` and then continue ex…
-
### Issue Description
I'm working on a ~~hack~~ sophisticated bit of software that broadcasts `udev` events via a `AF_NETLINK, SOCK_RAW` socket. I've attached some very rough/hacky rust code at the…
-
### Component
Cast
### Have you ensured that all of these are up to date?
- [X] Foundry
- [X] Foundryup
### What version of Foundry are you on?
forge 0.2.0 (fdfaafd 2024-07-30T00:19:45.054521589Z…
-
Maybe I'm mistaken (https://github.com/libarchive/libarchive/issues/146), but I found no simple helpers / recipes on extracting an `archive_entry` to fd (could be memfd or a network stream), `FILE*` (…
-
## Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=779054
Build error leg or test failing: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHa…
rzikm updated
45 minutes ago
-
`ptrace::getregs` and `ptrace::getregset` are used to get register values of certain process (tracee), which utilizes the `ptrace(PTRACE_GETREGSET, ..)` syscall:
```rust
pub fn getregset(pid: Pid)…
-
# Source Code
```
#define BPF_NO_GLOBAL_DATA
#include
#include
#include
struct {
__uint(type, BPF_MAP_TYPE_HASH);
__uint(max_entries, 1024);
__type(key, u32);
__type(value, u64);
}…
-
This crashes:
```c++
consteval int ok() {
int i;
new (&i) int[1]{1};
return i;
}
static_assert(ok() == 12);
```
```console
clang++: /root/llvm-project/clang/include/clang/AST/T…