ELI5: Explain Like I'm 5

Control-flow integrity

Control-flow integrity is like following the steps in a recipe when you are cooking. Just like how a recipe tells you what to do in a specific order, a computer program also has a specific order of instructions that it needs to follow. Control-flow integrity makes sure that the computer program follows those instructions in the correct order so that it can do its job properly. Imagine if you were making a cake and suddenly decided to mix the icing before baking the cake. That would not work, right? The same thing happens in a computer program, if the instructions are not followed in the correct order, it can cause errors or even let bad guys take over the program. Control-flow integrity is like making sure you follow the recipe exactly, so that your delicious cake comes out perfectly!
Related topics others have asked about: