junxzm1990 / x86-sok

124 stars 20 forks source link

Incorrect list of basic blocks inside a function of libtiff compiled with clang O0 #26

Open Colton1skees opened 1 year ago

Colton1skees commented 1 year ago

Using the serialized protobuf definitions from here, the list of basic blocks for function 0x1B380 of linux\libs\clang_O0\libtiff.so.5.4.0 are incorrect.

The ida pro ground truth(linux\libs\clang_O0\Block-idaBlocks-libtiff.so.5.4.0.pb) lists these blocks as children of 0x1B380:

I cross referenced with both IDA & Binary Ninja, and the IDA pro ground truth is definitely correct - OracleGT is listing blocks which are not owned by 0x1B380. Is this a bug?