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

Feature Request: ignore lines starting with . or .cfi_* #19

Open
dderjoel opened this issue Jun 30, 2023 · 0 comments
Open

Feature Request: ignore lines starting with . or .cfi_* #19

dderjoel opened this issue Jun 30, 2023 · 0 comments

Comments

@dderjoel
Copy link
Collaborator

labels in assembly start with . and some special labels for debugging start with .cfi currently, as Assemblyline does not support jumps, I would still appreciate, if assemblyline could just ignore those labels, instead of erroring out.

Works fine:

$ echo -e "nop\n\nnop" |asmline -p
90 
90

And I'd like to see the same output with labels, but it currently tries to parse it as an instruction.

$ echo -e "nop\n.cfi_abc\nnop" |asmline -p
90 
assembyline: unsupported or illegal instruction: cfi_abc
failed to assemble instruction: .cfi_abc
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

1 participant