Title: IDA xrefs after loading a2l Post by: HexTrain on August 20, 2019, 03:18:11 AM I got some ori files with a2l, I wrote a script to load them on IDA, and it looks like everything makes sense - the data offsets look like they are resolved correctly.
One thing that I can't understand is why there are no x-refs from the data offsets defined by the a2l from the code section. For example, from IDA: Code: ROM:001C0678 05 NetMng_ctGEMOOffDec_C:.byte 5 There are a lot of CHARACTERISTICs, but no x-refs at all from the code. Does anyone know the explanation for that? how does this data reference from the code? Title: Re: IDA xrefs after loading a2l Post by: daniel2345 on August 20, 2019, 07:30:20 AM It does indirect addressing via custom bosch library functions.
They also differ from software project to software project. It can be summarized like: Large function groups have an own base address which is a memory location or a register. Access to calibration area is then done with an indirect load/move which loads base of function group and map offset. Specific functions of that function group can use 8 Bit addresses then which saves memory and calculation time. So no easy cherry picking here :) |