No "imports" details on PE data callback

Open
#154 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, python

Research direction

Start at the pe module’s YARA callback data and trace how export_details and number_of_imports are exposed; the issue names no files or tests. Clarify the intended shape and compatibility requirements for import details and imphash, then validate that both requested values are available in the callback result.

Written by the indexing model from the issue text.

Description

Thank you for this awesome project!

I have some questions:

  1. When I using the pe module and parsing the data returned by the Yara's callback function, I can't find any entry related to the import details. Is there any reason why it's not included in the returned data? On that data, I can find export_details (func name, offset, ordinal, etc) but no import_details or similar entry, only number_of_imports available?

  2. Also, is it possible to include the imphash value on that data too?

Thank you!

Dominant language
C
Stars
754
Forks
190
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from VirusTotal/yara-python

All issues in VirusTotal/yara-python

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.