capstone
capstone copied to clipboard
Replace `malloc` with `calloc` everywhere
Feature
- [ ] New architecture module
- [ ] Support for processor extension
- [ ] Add more instruction details (elaborated below)
- [ ] Binding support for:
language - [x] Other (elaborated below)
Describe the feature you'd like
Especially auto-sync modules require to have their structs initialized to 0. The performance reduction can be neglected IMHO.
And we dodge potential and hard to find bugs (as happened in the past).
Currently there is a lot of memset everywhere, which we could save as well.
Additional context None