Skip to content
New issue

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

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

Already on GitHub? # to your account

Escape single colon in names #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

giladreti
Copy link

Some IDA generated names are of the form [thunk]:funcname, but the and thus the generated name will be thunk_:funcname which is an illegal declaration name.

Change the bad c name matching regex to match a single colon (that is, a one which is not a part of a pair).
Also replace any occurrence of three or more consecutive colons, as this is also an invalid cpp name.

This fixes #79.

Some IDA generated names are of the form `[thunk]:funcname`, but the and thus the generated name will be `thunk_:funcname` which is an illegal declaration name.

Change the bad c name matching regex to match a single colon (that is, a one which is not a part of a pair).
Also replace any occurrence of three or more consecutive colons, as this is also an invalid cpp name.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

invalid vtable definition
1 participant