Skip to content

[Bug] Breaks in multiple ways with rust binaries with debug symbols left in #217

@winneratwin

Description

@winneratwin

this is a combination of the gdb python bindings being bad and the fact that PINCE doesn't have support for languages with no void types

GDBCommandExtensions.py line 23 breaks because the gdb python bindings can't convert &str types (which environment variables are cast to in rust) to strings you can fix it by replacing .string() with .format_string().strip('"')
same for ScriptUtils.py line 22 and 23

if you fix those lines you get a new error at ScriptUtils.py line 33 since it tries to get the void type but fails since rust has no void/null type and even if you comment it out it fails at a more systematic level where RegisterLabel.py line 29 is erroring with this error can only concatenate str (not "NoneType") to str which i am assuming is it trying to do something with the void type at which point i gave up trying to fix PINCE and decided to make an issue

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions