William Tan

Results 18 issues of William Tan

When I run the following program, to_string seems to panic, while the unwrap succeeds. I'm not sure if this is intentional or not. ```Rust use cpp_demangle::Symbol; fn main() { let...

C source ```C #include int fizz_buzz(int n) { for (int i = 0; i < n; i++) { if (i % 3 == 0) { printf("Fizz"); } if (i %...

bug

The current value of 31 doesn't make any sense and causes the dwarf expression evaluator to produce a bogus value https://github.com/NationalSecurityAgency/ghidra/blob/b3616a6831320daf71d299ab988a0bf13e052174/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf4/next/DWARFVariable.java#L355. When the `ParamSpillDWARFFunctionFixup` https://github.com/NationalSecurityAgency/ghidra/blob/b3616a6831320daf71d299ab988a0bf13e052174/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf4/funcfixup/ParamSpillDWARFFunctionFixup.java#L39 runs, it will fail the...

Feature: Processor/PowerPC
Feature: DWARF
Status: Triage

The previous fix https://github.com/keystone-engine/keystone/pull/274 only updated the address for target specific directives. There are a number of generic directives that also emit bytes so the address needs to be updated....

Fixes issue described in https://github.com/NationalSecurityAgency/ghidra/issues/5646

Feature: Analysis
Status: Internal
Feature: Processor/Sparc

Shellcraft templates are a really nice feature when needing to write custom shellcode but there is currently no easy way to do this. The best way I can come up...

feature

If a MIPS binary contains a `.MIPS.stubs` section, then existing entries found in the `.plt` sections are overwritten leading to missing plt entries. This is present in the `checkbyte` binary,...

bug

The clang `ConstantArrayType` has a [getSize](https://clang.llvm.org/doxygen/classclang_1_1ConstantArrayType.html#a0080460a5d73d37ffc6288f139543dad) method which returns the number of elements in the array as an `APInt` but this is not exposed on the [multiplier](https://github.com/trailofbits/multiplier/blob/c9b08000a3a06a484b0a0e76cc2c9e38f17c274d/include/multiplier/AST/ConstantArrayType.h#L53) side. A workaround...

api

It would be really nice if writes done by the fuzzer using `VirtWriteDirty` like so ```cpp if (!g_Backend->VirtWriteDirty(NewInputBuffer, MutatedInputBufferPtr, MutatedInputBufferSize)) { fmt::print("Failed to insert the testcase\n"); std::abort(); } ``` could...

enhancement

### Description xinfo assumes that you are debugging an elf binary https://github.com/pwndbg/pwndbg/blob/d2efb84d6a950446fbd9c89eb14b0f331ba49828/pwndbg/commands/xinfo.py#L72-L76 ### Steps to reproduce Debug a mach-o binary on macos and run xinfo. ``` ╭─────────────────────────────── Traceback (most recent...

bug
LLDB Port