Skip to content

Add binaries for testing Dlang devirtualization - #307

Draft
historicattle wants to merge 1 commit into
rizinorg:masterfrom
historicattle:dlang_bin
Draft

Add binaries for testing Dlang devirtualization#307
historicattle wants to merge 1 commit into
rizinorg:masterfrom
historicattle:dlang_bin

Conversation

@historicattle

Copy link
Copy Markdown
Contributor

This PR adds only x86 elf binary

I wasnt able to get dmd working to output an ARM bin, even though an ARM backend exists in dmd! I could use ldc to generate the bin, but the mangling scheme is not compatible with the implemented demangler in rz-libdemangle.

The PE binary is incorrectly detected as a C binary by rizin as the PE linker removes all symbols from the .exe and places it in .pdb. And dmd doesnt have a option/target like rustc has (--target x86_64-pc-windows-) which embeds all this info into a single .exe

@wargio

wargio commented Aug 18, 2026

Copy link
Copy Markdown
Member

what if you add both exe + pdb and then load the pdb ?

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

Successfully merging this pull request may close these issues.

2 participants