-
Notifications
You must be signed in to change notification settings - Fork 79
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
ast parsed error #204
Comments
Hi @pupiles, This is probably related to #40? See #198 (comment) for an explanation of what is most likely causing the issue. I wish we may find a good solution for this, but at least for now, I have not yet found one. If you know any way to solve #40, please let us know :D Happy wishes from Sweden. Cheers, |
Hi @mewmew, Thanks for your reply. I wonder if there is a temporary solution to this issue,for the scenario where parsing the correct align position is not important. Best Wishes, |
Hi @pupiles, you're most welcome :)
Here is possible and very crude work-around. It strips away go install -v github.com/mewkiz/cmd/sar@master
FILE=$1
sar -i 'call align [0-9]+ ' 'call ' $FILE
sar -i 'define align [0-9]+ ' 'define ' $FILE
sar -i 'declare align [0-9]+ ' 'declare ' $FILE
sar -i 'invoke align [0-9]+ ' 'invoke ' $FILE Running Parsing
Cheers, |
The codes above are ast parsed error when used
asm.ParseFile
becausealign 8
seems not supported when placed as the decorator of a function. Could you pass me some hints on that, really appreciate that.heck.ll.zip
The text was updated successfully, but these errors were encountered: