Support loading SVD files into Binary Ninja.
- Open binary in Binary Ninja
- Run
Import SVD info
command. - Select SVD file (i.e.
TC37XPD.svd
). - New segments should now be automatically created for each peripheral along with the structure.
As Binary Ninja does not support bitfields, all bitfields will become unions, most will find this undesired so by default this will be disabled.
To enable bitfield structuring set SVDMapper.enableBitfieldStructuring
to true.
Comments can be displayed poorly in some instances so if that is the case you can turn comments off.
To disable comments set SVDMapper.enableComments
to false.