GrammaTech / ddisasm

A fast and accurate disassembler
https://grammatech.github.io/ddisasm/
GNU Affero General Public License v3.0
645 stars 60 forks source link

How to get instruction boundaries for binaries compiled by icc ? #53

Open peicwang opened 1 year ago

peicwang commented 1 year ago

Hi, I'm curious about how to get the ground truth for binaries compiled by icc, specifically, how to correctly distinguish the jump table from the code section?

aeflores commented 1 year ago

Hi @peicwang, sorry for the late reply. Just to clarify, you are asking about getting the ground truth, not what ddisasm considers to be the case, right?

This is something we haven't done for ICC binaries. We assessed the quality of our disassembly by checking the functionality of the rewritten binary. However, other people have extracted that kind of information, e.g. https://arxiv.org/abs/2012.09155