Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled characters in build info args #17

Open
MSeba1 opened this issue Nov 28, 2023 · 14 comments
Open

Unhandled characters in build info args #17

MSeba1 opened this issue Nov 28, 2023 · 14 comments

Comments

@MSeba1
Copy link

MSeba1 commented Nov 28, 2023

Hello, im getting a weird error, something about MultipleProcessSupport flag?
here is the log

0x180000000`
thread 'main' panicked at src/cpp/module.rs:873:36:
Unhandled characters in build info arg: 'MP1...'
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Im running the script on ubuntu 22.04 and rustc 1.74.0

@MSeba1
Copy link
Author

MSeba1 commented Nov 28, 2023

even if i try avoid getting panicked, another error comes up
Unhandled characters in build info arg: 'O14...'

@camden-smallwood
Copy link
Owner

camden-smallwood commented Nov 29, 2023

Hey there, I've implemented a fix for /MP compiler options in commit c8cbcce, which should resolve your first issue. The second issue seems a little odd, does it still happen after the aforementioned fix? If so, is this PDB file publicly available so that I can debug it locally? The /O14 flag isn't documented, which you can see here: https://learn.microsoft.com/en-us/cpp/build/reference/o-options-optimize-code?view=msvc-170

@MSeba1
Copy link
Author

MSeba1 commented Nov 29, 2023

Hello, first of all thanks for the fast response, you are right after fixing the first error now i get a different one
not yet implemented: arg switch 'Zf...'
please ignore /O14 not sure how i got that error
unfortunately the pdf is not public

@camden-smallwood
Copy link
Owner

No problem, if you don't mind reporting on any missing build info arg support in here, then I'll do what I can to get them implemented. I have added support for the /Zf option in commit 521a802.

@MSeba1
Copy link
Author

MSeba1 commented Nov 29, 2023

sure, gotta catch them all i guess?
next one is
Unhandled characters in build info arg: 'experimental'

@camden-smallwood
Copy link
Owner

OK that should be fixed in commit 01ac679.

@MSeba1
Copy link
Author

MSeba1 commented Nov 29, 2023

ok, next one
Unhandled characters in build info arg: 'experimental:deterministic'

@camden-smallwood
Copy link
Owner

OK that one should be fixed with commit 86a5d79.

@MSeba1
Copy link
Author

MSeba1 commented Nov 29, 2023

next
Unhandled characters in build info arg: 'GR-3...'

@camden-smallwood
Copy link
Owner

That's a strange one because it doesn't seem to follow the documentation of the /GR option as specified here: https://learn.microsoft.com/en-us/cpp/build/reference/gr-enable-run-time-type-information?view=msvc-160

I've made a change that includes the build info args when an unexpected character is encountered in commit 2ff0ba3. Could you include the entire new error message so that I can verify the context and ensure it's not a parsing error?

@MSeba1
Copy link
Author

MSeba1 commented Nov 29, 2023

the full error is like the others

thread 'main' panicked at src/cpp/module.rs:825:40:
Unhandled characters in build info arg: 'GR-3...'
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

edit: i think you meant for me to parse the error after the latest commit? unfortunately doing so prints a huge list of sensitive strings i would avoid sending, is there an alternative? sorry about this

@camden-smallwood
Copy link
Owner

I think your local copy might be out of date. Could you verify that your src/cpp/module.rs has the same message string as the repository's at line 825? https://github.com/camden-smallwood/pdb-decompiler/blob/main/src/cpp/module.rs#L825

@MSeba1
Copy link
Author

MSeba1 commented Nov 29, 2023

do you have telegram? i found the GR-3 issue i think

@camden-smallwood
Copy link
Owner

Yes I do, my account is @camdensmallwood

@camden-smallwood camden-smallwood changed the title Unhandled characters in build info arg: 'MP1 Unhandled characters in build info args Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants