home.social

#lldb — Public Fediverse posts

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

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

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

  3. [#Compiler] 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

  4. Как я в 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

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

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

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

  8. 🎉 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

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

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

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

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

    habr.com/ru/companies/ruvds/ar

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

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

  13. 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 )

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

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

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

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

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

  19. First time debugged something small but real with #LLDB

    Found the bug purely by accident just because LLDB's interface is so ugly (just different?) compared to what we're all used to in IDEs

  20. CLion 2024.3 EAP 3: OpenCV Image Viewer and the Ability to Attach the Debugger to an Unstarted Process

    blog.jetbrains.com/clion/2024/

  21. LLDB does not support reverse debugging yet. As far as I know, there are two ways to implement reverse debugging: one is record and replay, such as the rr tool, which can be considered as read-only; the other is "true" reverse, which can "roll back->modify the state->run again". The latter is not necessarily more useful than the former. For example, some nondeterministic bugs can be reproduced 100% using record and replay, but may not be reproduced by running it again with "true" reverse.

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

  23. Working on improving performance for the next release. This will require pre-generating stuff during build (different string formats and probably static hashtables), so doing this in script isn't feasible any more, therefore working on a data generation tool in now.

    I'm amazed how shows me my structs while debugging this 😂

  24. I'm trying to use #NeoVim almost exclusively for my home projects (I still need Xcode for debugging Metal), but I keep going back to VSCode just for the #debugger.

    I've used command line debuggers (#lldb and #gdb) quite a lot but I think this is one of these cases where I want a proper GUI.

    nvim-dap doesn't feel right either.

    Something like #remedybg would be ideal, but for #macos and lldb.

    Any suggestions?

  25. Meanwhile released v0.6.2 with a few more (less important) bugfixes ...

    ... and working on a new feature, parse metadata.

    (which comes with base) is quite nice for some first testing 😎

    SAUCE ref: github.com/radman1/sauce