Question: C/Assembly language Question I need this assembly language to be reverse engineered to C. Let me know if you have any questions f4: pushq %r12

C/Assembly language Question

I need this assembly language to be reverse engineered to C. Let me know if you have any questions

f4: pushq %r12 movq %rdi, %r12 pushq %rbp movq %r12, %rbp pushq %rbx leaq 1(%r12), %rbx call puts movsbl (%r12), %edx testb %dl, %dl je .L15 .L17: xorl %eax, %eax movl $122, %ecx movl $97, %esi movl $.LC0, %edi call printf movzbl 0(%rbp), %edx leal -97(%rdx), %eax cmpb $25, %al ja .L11 subl $32, %edx movb %dl, 0(%rbp) .L11: movq %rbx, %rbp addq $1, %rbx movsbl -1(%rbx), %edx testb %dl, %dl jne .L17 .L15: popq %rbx popq %rbp movq %r12, %rax popq %r12 ret

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!