© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
D. VostokovFoundations of ARM64 Linux Debugging, Disassembling, and Reversinghttps://doi.org/10.1007/978-1-4842-9082-8_13

13. Function Pointer Parameters

Dmitry Vostokov1  
(1)
Dublin, Ireland
 

“FunctionPointerParameters” Project

It is our final project, and it can be downloaded from
github.com/apress/arm64-linux-debugging-disassembling-reversing/Chapter13/
A summary of the project source code:
// FunctionParameters.cpp
int main(int argc, char* argv[])
{
      int a, b;
      printf("Enter a and b: ");
      scanf("%d %d", &a, &b);
      if (arithmetic (a, &b))
      {
            printf("Result = %d", b);
      }
      return 0;
}
// Arithmetic.cpp
bool arithmetic (int a, int ...

Get Foundations of ARM64 Linux Debugging, Disassembling, and Reversing: Analyze Code, Understand Stack Memory Usage, and Reconstruct Original C/C++ Code with ARM64 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.