Skip to content

Uncertain_sizemem(): Cannot compute required number of covariances without overflow #119

Open
@SamuelmsWong-zz

Description

@SamuelmsWong-zz

If given an exceedingly large memory size, the uncertain_sizemem() function will return an error stating "Cannot compute required number of covariances without overflow".

According to the code in uncertain_sizemem(), found in inst_uncertain.c:391:
if ( (size - 0x4000) / 4 > (1<< 16)) an error is raised.
Is the memory provided for uncertain registers the same memory as that provided for the whole processor (S->MEM)?
I don't fully understand how this works so I'll leave it as an issue.
For your information, the main sizemem function is defined in main.c:2019

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