[#Compiler] Day 1 of #AoCO2025 Study Notes

While the original uses #CompilerExplorer, I wanted to replicate the analysis locally.

In this post, I have used #gcc, #clang, llvm-objdump and #LLDB to analyze.

Read more here: https://gapry.github.io/2026/01/01/Advent-of-Compiler-Optimisations-Study-Notes-01.html

Study Notes: Why xor eax, eax?

Study Notes: Why xor eax, eax?

Gapry's Blog

Как я в 15 лет собрал LLVM ToolChain на Windows без MSVC

Как собрать актуальный LLVM со всеми рантаймами (Clang, LLD, LLDB, CLANG-EXTRA-TOOLS) нативно под Windows, если WinLibs перестал обновляться, а другие сборки не подходят? В этой статье я расскажу о своем 4-месячном пути: от накоплений со школьных обедов на первый ПК до борьбы с линковкой библиотек и поиска фиксов в экспериментальной ветке LLVM 22. История о том, почему я выбрал путь «чистого Upstream» и как заставил это всё работать в 15 лет. Заинтересовало

https://habr.com/ru/articles/980942/

#C++ #llvm #clang #lld #lldb #clangextratools #mingww64 #Сборка #Без_MSVC

Как я в 15 лет собрал LLVM ToolChain на Windows без MSVC

Здравствуйте, коллеги-разработчики! Я Максим, и я хочу поделиться новостью из мира C++. Я смог в 15 лет собрать Clang, LLD, LLDB, clang-extra-tools нативно в Windows, и оно работает. Но начнем мы...

Хабр
Bypassing iOS Frida Detection with LLDB and Frida | Tony Gorez's Blog

A complete walkthrough of the 8ksec "FridaInTheMiddle" challenge: bypassing Frida detection, hooking Swift functions, and intercepting arguments on a jailbroken iPhone.

Bypassing iOS Frida Detection with LLDB and Frida | Tony Gorez's Blog

A complete walkthrough of the 8ksec "FridaInTheMiddle" challenge: bypassing Frida detection, hooking Swift functions, and intercepting arguments on a jailbroken iPhone.

Bypassing iOS Frida Detection with LLDB and Frida | Tony Gorez's Blog

A complete walkthrough of the 8ksec "FridaInTheMiddle" challenge: bypassing Frida detection, hooking Swift functions, and intercepting arguments on a jailbroken iPhone.

Bypassing iOS Frida Detection with LLDB and Frida | Tony Gorez's Blog

A complete walkthrough of the 8ksec "FridaInTheMiddle" challenge: bypassing Frida detection, hooking Swift functions, and intercepting arguments on a jailbroken iPhone.

We (SCI Semiconductor) are about to hire some folks in the next couple of months (probably starting in January, since we're about to hit Christmas):

We're aiming to hire 1-3 FAEs, who can build out the open-source bits of the #CHERIoT software stack (including drivers / various communication stacks), build demos, and work with customers on use-case bringup.

We also want to hire someone else on the toolchain side. Primarily #LLDB + #OpenOCD, but also working with our #LLVM (and #RustC) folks.

Let me know if you're interested!

EDIT: We are a full-remote company. It's easiest for us to hire people in the UK (and one of our investors would really like us to hire more people in Sheffield), but elsewhere is possible (though might, for tax purposes, require you to be officially a contractor for a while).

We're also going to be hiring people for our hardware verification and RTL teams soon (more on the verification side than design at the moment, I think). I'm not responsible for them, but I can find out more details if anyone is interested. Our first CHERIoT chip is nearly finished, we're starting to work on the second.

EDIT 2: Thanks to all of the people who have expressed interest (in public and private posts). I'll try to get back to you all next week!

EDIT 3: I hope I've replied to everyone now! If I missed you (there were more replies than I expected!) please let me know. I think we'll aim to do another hiring round over the summer next year, so if the current timeline doesn't work out for you, please still let me know and I'll keep you in mind next time!

#GetFediHired

🌗 macOS 系統呼叫追蹤工具 strace-macos
➤ macOS 上的 strace 替代方案:基於 LLDB 的系統呼叫追蹤
https://github.com/Mic92/strace-macos
這是一個為 macOS 設計的 strace 指令克隆工具,名為 strace-macos。它利用 macOS 內建的 LLDB 除錯器 API,無需禁用 SIP 即可運作。此工具以純 Python 編寫,支援多種輸出格式(JSON Lines、strace 相容文字),並提供系統呼叫過濾、符號解碼、彩色輸出及摘要統計等功能。安裝可透過 Nix Flakes 或手動安裝。
+ 太好了!一直以來都在找 macOS 的 strace 替代品,這個聽起來很有潛力。
+ SIP 啟用也能用實在太方便了,不像 dtruss 還要關閉保護。希望 regex 過濾和路徑過濾能盡快加入。
#macOS #系統工具 #strace #LLDB #Python
GitHub - Mic92/strace-macos: A clone of the strace command for macOS

A clone of the strace command for macOS. Contribute to Mic92/strace-macos development by creating an account on GitHub.

GitHub

For two days straight, I just can't reproduce #swad #crashing with *anything* in place (#clang #sanitizer instrumentation, attached #debugger like #lldb) that could give me the slightest hint what's going wrong. 😡

But it *does* crash when "unobserved". And it looks like this is happening a lot sooner (or, more often?) when using #LibreSSL ... but I also suspect this could be a red herring in the end.

Situation reminds me of my physics teacher back at school, who used to say something in german I just can't ever forget:

"Wer misst, misst Mist."

Feeble attempt in english would be "the one who measures measures crap", it was his humorous way to bring one consequence of #Heisenberg's indeterminacy principle to the point. And indeed, #debugging computer programs always suffers from similar problems...

We released new Pwndbg: https://github.com/pwndbg/pwndbg/releases/tag/2025.05.30 !

Among others it brings:
- New & improved kernel debugging commands (buddydump, msr, slab) and more x64 regs in context
- New command for dealing with armcm exceptions: dump-register-frame
- Disasm now shows an ✘ marker for emulated branches we know won't be taken
- Improved disasm for ARM, MIPS and LoongArch64 architectures
- Initial support for the IBM s390x architecture
- IDA sync integration fixes

And also cool portable one-liner installers:
$ curl -qsL 'https://install.pwndbg.re' | sh -s -- -t pwndbg-gdb
$ curl -qsL 'https://install.pwndbg.re' | sh -s -- -t pwndbg-lldb

Want to support us? Sponsor us at https://github.com/sponsors/pwndbg !

#pwning #gdb #ctfs #lldb #security #ctf #pwndbg