Over the last decade or so, there has been a strong push towards languages that are considered "memory safe", citing security as the primary reason. However, most security benefits attributed to memory safety languages can be very easily achieved by applying certain mitigations to unsafe languages:
- Bounds checking: Eliminates all buffer overflows/underflows. Requires language support.
- Control-flow Integrity (CFI): Checks whether indirect jumps (function pointers/vtable) are valid (at runtime). This mitigation when combined with hardware mitigations like Intel CET would prevent all remote-code execution (RCE) attacks.
- Type-stable allocators: Traditional memory allocators reuse the set of same memory regions for objects of approximately same size (called "size classes"). The problem that would arise here is that when a use-after-free occurs and the two successive objects are of different data types, this could enable RCE attacks (this is known as *type
| From 9f91b171f680648647580c163bbc9cc1641e3920 Mon Sep 17 00:00:00 2001 | |
| From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <joanbrugueram@gmail.com> | |
| Date: Sat, 16 Nov 2024 22:45:21 +0000 | |
| Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.13-rc1 | |
| --- | |
| nvidia-modeset/nvidia-modeset.Kbuild | 8 +++++--- | |
| nvidia/nvidia.Kbuild | 8 +++++--- | |
| 2 files changed, 10 insertions(+), 6 deletions(-) |
| #include "clog.h" | |
| #include <stdatomic.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #define LOGMETA_BUFFER 4096 | |
| #define LOGDATA_BUFFER (64 * 1024) | |
| // [..........................] | |
| // ^ |
Logging functionality that supports:
- If a log message should be printed is determined at comptime, meaning zero overhead for unprinted messages (so just leave the code peppered with debug logs, but when it makes sense scope them; so downstream users can filter them out)
- Scoped log messages
- Different log levels per scope
- Overrideable log output (write to file, database, etc.)
- All the standard
std.fmtformatting magic
基于 Minecraft: Java Edition 1.17.1 和 yarn-1.17.1+build.14-v2 映射
声明:
Minecraft 源码版权属于 Mojang。本文并非 Minecraft 官方产品,与 Mojang 无任何关联。
鸣谢:
编写本文时使用了以下软件: >
Here is a good resource to check out first
First of all, check what command is run when you in fact launch your app. For me (Create minecraft mod) this command was executed when I run runClient configuration (line breaks, tabs and backslashes added for readability):
/home/tooster/.sdkman/candidates/java/14.0.1-open/bin/java
This is a list of the most commonly used and relevant vtubing software. The "best" will always be subjective and depend on your specific requirements. Overall, the information in this list is as accurate as I could figure it out, but there might be errors or some details might become out of date. If you find anything that needs to be corrected, please let me know. You can also note it in a comment.
Additional explanations:
- iPhone means that an iPhone is basically required
- iFacialMocap support means that tracking data can be received from the iFacialMocap iPhone app
- VMC protocol means that the application can send and/or receive tracking data from other VMC protocol capable applications, allowing the combination of multiple tracking methods (e.g. VSeeFace receiving VR tracking from Virtual Motion Capture and iPhone/ARKit face tracking from Waidayo)
- Tobii means that the Tobii eye tracker is supported