Question: Assembly Code/ C Question: Can someone reverse engineer this function to C please. f5: cmpb $0, (%rdi) movq %rdi, %rax movq %rdi, %rdx je .L32
Assembly Code/ C Question:
Can someone reverse engineer this function to C please.
f5: cmpb $0, (%rdi) movq %rdi, %rax movq %rdi, %rdx je .L32 .L22: addq $1, %rdx cmpb $0, (%rdx) jne .L22 movzbl (%rsi), %ecx testb %cl, %cl je .L33 .L24: movb %cl, (%rdx) addq $1, %rsi addq $1, %rdx .L32: movzbl (%rsi), %ecx testb %cl, %cl jne .L24 .L33: movb $0, (%rdx) ret
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
