Open emesare opened 1 month ago
I could not reproduce this error, instead I get an invalid use of BT_UNK:
$ cargo run --bin idb-tools -- -i resources/idbs/ComRAT-Orchestrator-ForDistribution.i64 dump-til
Error: parsing `TILTypeInfo::tiinfo`
Caused by:
forbidden use of BT_UNK
This error is caused by the existence of til ordinal aliases. It seems that before the first type on the TIL Sector, it will include some kind of mapping ordinal -> ordinal
, it's unclear how to parse those types or why they exist.
My guess is that he verify if the flag value is too small, if so, is a ordinal mapping, otherwise it parses it as a regular type.
Original problem was fixed on https://github.com/rbran/idb-rs/commit/5957e9e13be9fd73f2851b9b8b53e1aae2305123
But now it's unable to parse the type: void __fastcall stringstream__basic_ios__sub_180007CF0_Destructor(basic_ios *__shifted(stringstream,0x94) a1);
. Probably due to the type complexity.
ComRAT-Orchestrator-ForDistribution.i64.txt