Research Article

Determining the Image Base of Smart Device Firmware for Security Analysis

Listing 4

Example of switch-case statements.
switch(n)
{
case 1:
  printf("n =1\n");
  break;
case 100:
  printf("n =100\n");
  break;
default:
  printf("default.\n");
}