zhangweize9-cyber
zhangweize9-cyber
### Did you check the docs? - [x] I have read all the lazy.nvim docs ### Is your feature request related to a problem? Please describe. ### **1. Static Analysis...
### Description: While auditing the current implementation of **clang-format** and the **WASM linker driver (lld/wasm),** I identified several areas where the code logic could be more robust and maintainable. Specifically:...
## Description In the Getting Started documentation for [building](https://github.com/llvm/llvm-project/blob/main/llvm/docs/GettingStarted.md?plain=1#L414) LLVM/GCC toolchains, using `make -j$(nproc)` (or **Ninja** equivalent) is recommend to parallelize the build process. In reality, many developers' laptops have...
## Cause The issue arose when I was maintaining the `AsmParser.cpp` module. I used the command `ninja -C build llvm-mc` to compile and debug the module to check for errors....
## A Very Long General Preface First, I'd like to clarify that on January 20 of this year, because I wasn't familiar with the project's submission guidelines, I also tried...
I start trying to solve this problem in August. I've tried several different approaches along the way. Here's my pull request below: **#214396:** The approach taken in the first attempt...
## Beginning For almost six months, from February of this year until now, I spent the first four months learning how others maintained modules and what their communication style was...
### Summary, TL;DR: Here's the [original RFC draft:](https://discourse.llvm.org/t/rfc-improve-the-cross-platform-compatibility-and-security-of-the-llvm-utils-update-test-body-py-script/92516) Enhanced matching for temporary directory files to exclude system runtime files. Added whitelist matching to the `rm` command in `llvm-lit` to prevent...
The command call chain for deleting files in llvm-lit starts from the `TestRunner.py` module. First, start with the `_executeShCmd()` function. There is a variable called `inproc_builtins` under this function. Which...
**核心观点:** 建议将 fnOS 系统中负责权限校验、网络管理等高敏感功能的 Bash 脚本,逐步迁移并重构为由 C++ 编写的静态编译二进制文件。 --- ## 建议理由: - 权限细粒度化:Bash 脚本在执行时往往依赖较高的 Shell 权限,难以实现复杂的最小权限原则(Principle of Least Privilege)。通过 C++ 调用 capset 或 seccomp 等底层接口,可以实现更精细的进程级权限控制。 - 增强防御纵深:飞牛刚开始的方案是在原系统内增加个杀毒软件,解释型语言(如 Bash)的逻辑对攻击者是完全透明的,极易受到注入攻击。将逻辑固化为二进制文件,不仅能杜绝脚本注入类漏洞,还能显著提高逆向工程的成本,增加系统的抗破坏能力。 - 系统行为的确定性:静态编译的二进制文件不依赖外部环境的...