C程序中遇到下面的代碼
typedef struct {int left;a_struct a[CNT];int right;
} b_struct;void test( int i, b_struct *bp)
{int n=bp->left+bp->right;a_struct *ap=&bp->a[i];ap->x[ap->idx]=n;
}
下面是test函數的反匯編代碼
結合C程序中的代碼與test函數的反匯編代碼分析
typedef struct {
int idx;
int x[4];
} a_struct;CNT=9;