Displaying 1 result from an estimated 1 matches for "d81d23a4".
2017 Sep 17
1
Usage of base register other than ebp for array accesses
Hello All,
We want to write a transformation pass such that the array accesses use
a base register other than ebp (assuming that the code is compiled for x86
architecture). For example,
The below C code
->int a[5];
->a[2] = 2
by default, gets compiled to something like this:
->mov dword ptr [ebp - 28], eax
However, we want our pass to emit the something similar to the following