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

Expecting optional fields (TypeError: Cannot Read properties uri) #12

Closed
ReversingWithMe opened this issue Mar 24, 2024 · 2 comments · Fixed by #13
Closed

Expecting optional fields (TypeError: Cannot Read properties uri) #12

ReversingWithMe opened this issue Mar 24, 2024 · 2 comments · Fixed by #13
Labels
bug 🐛 Something isn't working priority:medium Medium-priority tasks

Comments

@ReversingWithMe
Copy link

capa\example.sarif": Error: Parsing failed: TypeError: Cannot read properties of undefined (reading 'uri').

I believe the source of this is targeting source-based sarif files, and maybe this may need a few tweaks for looking at other types of sarif files (which may not make sense for your use-case).

Example sarif file, stripped directory absolute path
example.zip

@Vasco-jofra
Copy link
Collaborator

Thank you for the report and for the SARIF reproducer, I'll look into it

@Vasco-jofra
Copy link
Collaborator

@ReversingWithMe I fixed this bug. You won't be able to jump to the corresponding address in the binary, of course, since VSCode is not a tool to visualize binaries, but you should be able to browse the results and see the problematic addresses that correspond to them. Let me know if you have any other issues or feature requests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working priority:medium Medium-priority tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants