Which of the following functions are called by the "main" function in the "midterm_binary" binary? Question 11 options: __isoc99_scanf check2 check puts:         void main(void) {  char cVar1;  char cVar2;  int in_GS_OFFSET;  undefined local_28 [20];  int local_14;  undefined *local_10;    local_10 = &stack0x00000004;  local_14 = *(int *)(in_GS_OFFSET + 0x14);  puts("Please enter your password:");  FUN_080490f0(&DAT_0804a027,local_28);  cVar1 = check(local_28);  cVar2 = check2(local_28);  if ((cVar1 == '\0') || (cVar2 == '\0')) {    puts("The password is incorrect!");  }  else {    puts("The password is correct!");  }  if (local_14 != *(int *)(in_GS_OFFSET + 0x14)) {    __stack_chk_fail_local();  }  return;}

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter3: Data Representation
Section: Chapter Questions
Problem 12VE
icon
Related questions
Question

Which of the following functions are called by the "main" function in the "midterm_binary" binary?

Question 11 options:

__isoc99_scanf


check2


check


puts:         void main(void)

{
  char cVar1;
  char cVar2;
  int in_GS_OFFSET;
  undefined local_28 [20];
  int local_14;
  undefined *local_10;
  
  local_10 = &stack0x00000004;
  local_14 = *(int *)(in_GS_OFFSET + 0x14);
  puts("Please enter your password:");
  FUN_080490f0(&DAT_0804a027,local_28);
  cVar1 = check(local_28);
  cVar2 = check2(local_28);
  if ((cVar1 == '\0') || (cVar2 == '\0')) {
    puts("The password is incorrect!");
  }
  else {
    puts("The password is correct!");
  }
  if (local_14 != *(int *)(in_GS_OFFSET + 0x14)) {
    __stack_chk_fail_local();
  }
  return;
}

AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning