avast / avast/retdec

Bin2llvmir: application of similar versions of statically linked code signatures

Open
#123 0 comments 0 reactions 0 assignees View on GitHub
C-bin2llvmir enhancement T-static-code
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

If we detect compiler version, but we do not have statically linked code signatures for this exact version, we could try to apply signatures of closely similar version - if we have them.

Try:
1. Try to experiment with it and find out, if it makes sense - similar versions have significant overlap.
2. If so, implement an intelligent algorithm of signature application - applies close versions, but not totally different ones.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Bin2llvmir entry point that detects compiler versions and applies statically linked code signatures. Experiment with the overlap between signatures from nearby versions, then define how similarity should be measured and when a version is too different. Done means a tested selection algorithm applies suitable close-version signatures without using unrelated ones.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, reverse-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.