u3shit

Results 26 comments of u3shit

I've checked with 5.12 vanilla kernel, and call stack stampling works there (so does context switches), so it's definitely something with newer kernels and unrelated to the zen patchset.

Scrap that, it looks like something else is the problem. After playing around with the old kernel versions, I've reverted to 5.18.11 that didn't work previously, now it work with...

Oh. Anyway, after messing around the kernels I can no longer reproduce this issue, so maybe it can be closed.

Unfortunately this TEST_CASE_CLASS macro requires writing the test case inside the class body, which might be ok when you have a header only library, but it's not that good when...

Understandable, the correct solution probably depends on a case-by-case basis. In my case, the code normally forks and after fiddling around a bit with low-level unix functons it execs, so...

I've rewritten that function to just `_exit(0)` after an error and report the problem in a different way to the parent process. Seems to be working for the time being.

Please note that `__attribute__((packed))` is a gcc extension, so what does the the c++ standard say about aggregates is irrelevant here. Unfortunately, gcc's documentations is pretty terse on this subject:...

Maybe I wasn't clear enough, it would still generate a failure and fail the test, it would just return some value so your test framework could handle the rest instead...

Yes, I'm using the provided test adapter. The problem is that with a fatal failure, the provided reporter will call `DOCTEST_ADD_FAIL_AT`, which still throws at the end (it creates an...

Yes, I agree that longjmp is bad with C++, as soon as you cross a stackframe with an object with a destructor, you're already invoking undefined behavior. And if nothing...