Skip to content

undefined identifier "is__elf" #433

Description

@rocco-96

Hello.
I have created a python script to integrate the rules if this repository and running them on some samples.

I already changed the relative path of the "index.yar" as it shown [VirusTotal/yara-python/issues/112] with the absolute path.

However, when I run the script I got another error:
yara.SyntaxError: rules/rules-master/malware/MALW_Torte_ELF.yar(31): undefined identifier "is__elf"

I saw this error in another issue #323, but to me does not work.

From what I've understood, the script can include the rules "000_common_rules.yar" (otherwise it would return an error), so it should work.

Desktop:

  • OS: [Ubuntu]
  • Version [22.04.1 LTS]
  • Yara version [4.1.3]
  • Yara - python version [4.2.3]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions