-
Book Overview & Buying
-
Table Of Contents
Reverse Engineering Armv8-A Systems
By :
In this chapter, we explored assembly instructions related to flow control, which manages the execution flow of a program. Flow control is important because it determines how a program responds to different conditions and inputs.
First, we learned about comparison instructions. These instructions affect the control flow of the next instruction by updating the condition flags in PSTATE. We also analyzed conditional branch instructions such as CBZ, CBNZ, TBZ, and TBNZ. These instructions are important for controlling how the program runs. When analyzing example assembly code, understanding the execution flow is essential.
Additionally, you learned how to convert assembly instructions into C code. This is a key skill when debugging or analyzing firmware binaries. As you continue to practice, your ability to debug and understand how assembly maps to C code will improve.
The next chapter will introduce reverse engineering and explain how to perform it using methods...