Omar Sandoval

Results 61 issues of Omar Sandoval

After printing an LLVM diagnostic message, the REPL doesn't work properly. This is because in [`asmaseDiagHandler()`](https://github.com/osandov/asmase/blob/5a8303492455dbd6e3969cc3b829046a6b0758de/src/Assembler.cpp#L296), we call [`llvm::SMDiagnostic::print()`](http://llvm.org/docs/doxygen/html/SourceMgr_8cpp_source.html#l00335). This calls through [`llvm::raw_fd_ostream::has_colors()`](http://llvm.org/docs/doxygen/html/raw__ostream_8cpp_source.html#l00710), [`llvm::sys::Process::FileDescriptorHasColors()`](http://llvm.org/docs/doxygen/html/Unix_2Process_8inc_source.html#l00391), and finally [`terminalHasColors()`](http://llvm.org/docs/doxygen/html/Unix_2Process_8inc_source.html#l00351). `terminalHasColors()` calls the...

All Fedora ELN builds are failing with something like: ``` ERROR: Command failed: # /usr/bin/dnf --installroot /var/lib/mock/fedora-eln-x86_64-bootstrap-1657124559.712774/root/ --releasever eln --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install dnf dnf-plugins-core --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts...

Follow-up to #92. Let's add a `drgn.Thread.name` attribute which is the name of the thread. * For the Linux kernel, this can be retrieved from `struct task_struct::comm`. * For live...

help wanted
good first issue

For #174, I did a bunch of manual testing. We should generalize the vmtest setup in GitHub actions to support other architectures. The hardest parts will be getting an AArch64...

Right now, if you have a program counter/instruction pointer, you can look up the ELF symbol containing it: ```pycon >>> prog.symbol(0xffffffff9c3acb7a) Symbol(name='ksys_read', address=0xffffffff9c3acb20, size=0xcf, binding=, kind=) ``` If you want...

enhancement

## Background DWARF specifies the location of a variable (local or global) with a "location description". See section 2.6 in the [DWARF 5 specification](https://dwarfstd.org/). A location description is essentially a...

help wanted
debuginfo

The [GDB Remote Serial Protocol](https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html) is implemented by several debugging targets, including [kgdb for the Linux kernel](https://www.kernel.org/doc/html/latest/dev-tools/kgdb.html) and [QEMU](https://wiki.qemu.org/Features/gdbstub). These targets are especially useful for development workflows (as opposed to...

enhancement

Before we can support live userspace debugging features like stack traces of live processes, breakpoints, or single-stepping, drgn needs basic support for [`ptrace(2)`](https://man7.org/linux/man-pages/man2/ptrace.2.html). @Svetlitski-FB prototyped this in #142 with a...

enhancement
help wanted

Currently, debug information reported for a userspace program is reported at the dummy address range of [0, 0). It should be possible to determine the load address by correlating the...

bug

Right now, we'll blindly accept the debug info passed by the user. We should sanity check that they match the program we're debugging. This issue is specifically for the kernel;...

bug