Vector35 / Vector35/binaryninja-api
Cannot read GD32VF103.svd
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
Version and Platform (required):
- Binary Ninja Version: 5.2.8587-dev Ultimate (9fb3d7eb)
- Edition: Ultimate
Bug Description:
Fails to load SVD file for GD32VF103:
[SVD] Failed to parse SVD file: In device `GD32VF103`
[SVD]
[SVD] Caused by:
[SVD] 0: In peripheral `RTC`
[SVD] 1: In register `PSCH`
[SVD] 2: In field `PSC`
[SVD] 3: Parsing unknown access at 29634:15
[SVD] 4: unknown access variant 'write' found
Steps To Reproduce:
- Download GD32VF103.zip
- Open a file
- Import as SVD
Expected Behavior:
SVD file imported.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by importing the attached GD32VF103.zip as an SVD file and inspect the SVD parser path that reports the unknown access variant write in peripheral RTC, register PSCH, field PSC. Done means the GD32VF103 SVD imports successfully without this parsing error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100