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

evm arch plugin raises assertion 'a && ap->name && ap->arch' failed (line 182) #21325

Closed
jmaselbas opened this issue Feb 8, 2023 · 0 comments

Comments

@jmaselbas
Copy link
Contributor

Environment

Wed Feb  8 11:30:05 CET 2023
radare2 5.8.3 30120 @ linux-x86-64 git.5.8.2-48-g5f5c55ff15
commit: 5f5c55ff158434291e3856cfd26ec72eb91177d1 build: 2023-02-07__11:00:42
Linux x86_64

Description

$ r2 -v
WARN: r_arch_add: assertion 'a && ap->name && ap->arch' failed (line 182)
$ rasm2 -L
WARN: r_arch_add: assertion 'a && ap->name && ap->arch' failed (line 182)

This is because the evm plugin doesn't fill the r_arch_plugin_evm struct when CS_API_MAJOR < 5: the plugin is a stub but still builtin.
see libr/arch/p/evm/plugin.c

@trufae trufae closed this as completed in 306e3f6 Feb 8, 2023
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