Пример #1
0
//----------------------------------------------------------------------
// This is where we copy out the IRSB
//----------------------------------------------------------------------
static IRSB *
instrument1 (void *callback_opaque,
             IRSB * irbb,
             VexGuestLayout * vgl,
             VexGuestExtents * vge, IRType gWordTy, IRType hWordTy)
{

    assert (irbb);

    irbb_current = vx_dopyIRSB (irbb);

    return irbb;
}
Пример #2
0
//----------------------------------------------------------------------
// This is where we copy out the IRSB
//----------------------------------------------------------------------
static IRSB *instrument1(void *callback_opaque, 
                         IRSB *irbb,
                         const VexGuestLayout *vgl, 
                         const VexGuestExtents *vge,
                         const VexArchInfo *ainfo,
                         IRType gWordTy, 
                         IRType hWordTy)
{
    assert(irbb);

    irbb_current = vx_dopyIRSB(irbb);
    size_current = vge->len[0];

    return irbb;
}