mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-22 21:17:14 +00:00
Function branch analysis
This commit is contained in:
18
tests/PowerAnalyse/cond.cpp
Normal file
18
tests/PowerAnalyse/cond.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
int cond(int a)
|
||||
{
|
||||
if (a == 1)
|
||||
{
|
||||
return 5;
|
||||
}
|
||||
else if (a == 4)
|
||||
{
|
||||
return 9;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern "C" int _start()
|
||||
{
|
||||
return cond(0);
|
||||
}
|
BIN
tests/PowerAnalyse/cond.elf
Normal file
BIN
tests/PowerAnalyse/cond.elf
Normal file
Binary file not shown.
Reference in New Issue
Block a user