foss-for-synopsys-dwc-arc-processors / qemu

QEMU port for ARCv2 Processors
Other
12 stars 9 forks source link

Semihosting: Proper handling of malloc validation #198

Closed luismgsilva closed 1 year ago

luismgsilva commented 1 year ago

Implemented validation for malloc function to detect NULL return values. When malloc returns NULL, the program exits and display a clear error message.