Skip to content

Remove PDB#45

Open
fcurdi wants to merge 1 commit intoedgardozoppi:metadata-providerfrom
fcurdi:remove_pdb
Open

Remove PDB#45
fcurdi wants to merge 1 commit intoedgardozoppi:metadata-providerfrom
fcurdi:remove_pdb

Conversation

@fcurdi
Copy link
Copy Markdown

@fcurdi fcurdi commented Aug 5, 2020

PDB file is read just to determine local variables names. It is optional and even when present, not all variables have a name in the PDB file. So currently the result is a mix of real cil variable names and some generated ones for the non present names (local_$index). Besides this, cil allows multiple local variables with the same name. This change removes PDB reading to solve this last case, to unify variable names and so it is not necessary to provide the PDB file. Alternatively we can solve the name issue by assigning unique names to the ones that are duplicate. But i don't really see the point in reading the PDB optionally as it is now.

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