Skip to content

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

@jmaselbas

Description

@jmaselbas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions