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

format not included in global features and cannot be matched < file scope #1258

Closed
mike-hunhoff opened this issue Jan 3, 2023 · 0 comments · Fixed by #1284
Closed

format not included in global features and cannot be matched < file scope #1258

mike-hunhoff opened this issue Jan 3, 2023 · 0 comments · Fixed by #1284
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@mike-hunhoff
Copy link
Collaborator

  • dnfile:
    # pre-compute these because we'll yield them at *every* scope.
    self.global_features: List[Tuple[Feature, Address]] = []
    self.global_features.extend(capa.features.extractors.dotnetfile.extract_file_os(pe=self.pe))
    self.global_features.extend(capa.features.extractors.dotnetfile.extract_file_arch(pe=self.pe))
  • IDA:
    self.global_features: List[Tuple[Feature, Address]] = []
    self.global_features.extend(capa.features.extractors.ida.global_.extract_os())
    self.global_features.extend(capa.features.extractors.ida.global_.extract_arch())
  • SMDA:
    # pre-compute these because we'll yield them at *every* scope.
    self.global_features: List[Tuple[Feature, Address]] = []
    self.global_features.extend(capa.features.extractors.common.extract_os(self.buf))
    self.global_features.extend(capa.features.extractors.smda.global_.extract_arch(self.smda_report))
  • viv:
    # pre-compute these because we'll yield them at *every* scope.
    self.global_features: List[Tuple[Feature, Address]] = []
    self.global_features.extend(capa.features.extractors.common.extract_os(self.buf))
    self.global_features.extend(capa.features.extractors.viv.global_.extract_arch(self.vw))
@mike-hunhoff mike-hunhoff added the bug Something isn't working label Jan 3, 2023
@williballenthin williballenthin added the good first issue Good for newcomers label Jan 4, 2023
@williballenthin williballenthin added this to the 5.0.0 milestone Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants