Skip to content

Replace malloc with calloc everywhere #2463

@Rot127

Description

@Rot127

Feature

  • New architecture module
  • Support for processor extension
  • Add more instruction details (elaborated below)
  • Binding support for: language
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions