home.social

#lldb — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #lldb, aggregated by home.social.

  1. I notice I'm finding fun puzzles in playing with #lldb more and finding out what actually is being called in AppKit

  2. [] Day 1 of Study Notes

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

    In this post, I have used , , llvm-objdump and to analyze.

    Read more here: gapry.github.io/2026/01/01/Adv

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

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

    habr.com/ru/articles/980942/

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

  4. 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

  5. 🎉 Behold, yet another attempt to make #debugging "fun" by ditching the decades-old, well-established #GDB and #LLDB for a shiny terminal interface. Because who needs reliable tools when you can have a hipster debugger that promises to revolutionize... absolutely nothing? 🙃
    github.com/al13n321/nnd #fun #terminalinterface #hipsterdebugger #HackerNews #ngated

  6. Finally I got debugging with nvim, clang and lldb working in Neovim. Including preLaunchTasks, CMakePresets...
    Now I need to clean up the build process.
    One thing that seems absolutely essential is to add the nvim-dap-lldb to the mix.
    But for now it just works and I can move on from here.
    #gamedev #neovim #cpp #clang #lldb #linux #vulkan

  7. [Перевод] Отладка приложения, которое не хочет, чтобы его отлаживали

    Недавно я столкнулся с приложением , которое: Блокирует прикрепление к нему отладчиков. Выполняет преждевременный выход при попытках инъецирования кода. Приводит к вылету телефона целиком, если запустить её со включённым джейлбрейком (!). По последнему пункту: кто вообще так делает??? Всё, что мы делаем (например, выполняем моддинг TikTok , чтобы он показывал только видео с котиками, или устраняем торможения в чужих приложениях), требует возможности исследования работы приложения. Но в приложениях для iOS очень часто используются дополнительные защиты от любопытных глаз, например, обнаружение джейлбрейка или обфускация кода . Похоже, это приложение стало на удивление интересной комбинацией всего перечисленного. Намного более сложной, чем можно было бы ожидать от обычного старого виджет-приложения.

    habr.com/ru/companies/ruvds/ar

    #ios #обратная_разработка #разработка_под_ios #lldb #flex #frida #патчинг #ruvds_перевод

  8. Fresh article on how to build, #RE, #debug, and #recon #XPC services on #macOS with an #XCode #Programming walkthrough (#C and #NSXPC APIs). Plus actual #debugging tips with #LLDB. If you are into #macOS/#iOS, this one's for you - #code included.
    Enjoy!

    karol-mazurek.medium.com/xpc-p

  9. In by default a backtrace shows not just the $pc and function name, but also which objfile that pc/func are in. Like "exename" or "libc.so" or whatever. Is there a way to get to do this? (Or am I going to have to submit a patch myself? :P )

  10. I like writing articles that help myself not once afterwards.

    This case is because of being a rare user of for .

    blog.ego.team/programming/rust

  11. If I was on gdb, that print would have done:
    ```
    (gdb) print &a
    $1 = (struct a *) 0x7fffffffe4f8
    ```

    which means that I can then use $1 in later expressions to use that value, so then I can do:
    ```
    (gdb) watch $1->a
    Watchpoint 2: $1->a
    ```
    and it just works.

    None of that happens w/ lldb.

    And none of the guides that talk about how to convert gdb to lldb mention how to deal w/ these deficiencies.

    #lldb

  12. Ok, I just found out that when you print stuff, lldb doesn't actually print things properly.
    ```
    (lldb) run
    [...]
    -> 10 struct a a = (struct a){};
    [...]
    Target 0: (t) stopped.
    (lldb) print &a
    (a *) 0x000000016fdff1b8
    (lldb) print ((a *) 0x000000016fdff1b8)->a
    error: <user expression 1>:1:6: expected expression
    ((a *) 0x000000016fdff1b8)->a
    ^
    (lldb) print ((struct a *) 0x000000016fdff1b8)->a
    (int) 4266848
    ```

    I also just realized that lldb doesn't keep a history of values printed.

    #lldb

  13. I missed #WWDC. Did they mention in the keynote whether they fixed the fucking hardening on lldb? Can I run plugins that call thread_swap_exception_ports() now or what?

    #lldb #clang #macOS

  14. FWIW: In the LLDB console, you can write something like

    breakpoint modify -c 1 1.2

    to make the breakpoint only trigger on the main thread, which works around the issue for me.

    Update: I think it doesn’t work. Not sure if I got the syntax right.

    #xcode #breakpoints #lldb #exceptions