We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @arthaud
I have problems getting analysis to converge on this function:
uint32_t CLKPWR_GetCLK (uint8_t ClkType) { switch(ClkType) { case CLKPWR_CLKTYPE_CPU: return SystemCoreClock; case CLKPWR_CLKTYPE_PER: return PeripheralClock; case CLKPWR_CLKTYPE_EMC: return EMCClock; case CLKPWR_CLKTYPE_USB: return USBClock; default: while(1); //error loop } }
SystemCoreClock, PeripheralClock, EMCClock and USBClock are all uint32_t-variables.
SystemCoreClock
PeripheralClock
EMCClock
USBClock
uint32_t
I run IKOS like this: ikos --entry-points=CLKPWR_GetCLK whole_program.bc
ikos --entry-points=CLKPWR_GetCLK whole_program.bc
It seems the problem is with the while(1);-loop, since analysis converges immediately if I replace with assert(0);.
while(1);
assert(0);
The text was updated successfully, but these errors were encountered:
8312173
Thanks for reporting this.
It was due to an infinite loop in source_location(). This is now fixed.
source_location()
Sorry, something went wrong.
Thanks for the vigilant support 👍
No branches or pull requests
Hi @arthaud
I have problems getting analysis to converge on this function:
SystemCoreClock
,PeripheralClock
,EMCClock
andUSBClock
are alluint32_t
-variables.I run IKOS like this:
ikos --entry-points=CLKPWR_GetCLK whole_program.bc
It seems the problem is with the
while(1);
-loop, since analysis converges immediately if I replace withassert(0);
.The text was updated successfully, but these errors were encountered: