instrument

Peter
2010-07-11
2012-10-15
  • Peter

    Peter - 2010-07-11

    hi, how to get the EIP in instrument stub?

     
  • Stanislav Shwartsman

    CPU class has a member BX_SMF BX_CPP_INLINE bx_address
    get_instruction_pointer(void);

    Stanislav

     
  • Peter

    Peter - 2010-07-12

    thanks a lot, is it physical address?
    Is there any way to get the virtual / linear address?

     
  • Peter

    Peter - 2010-07-12

    I was using this
    BX_CPU(cpu_id)->gen_reg

     
  • Stanislav Shwartsman

    This is not linear or physical address, just EIP register. Your way is fine
    too.

    Stanislav

     
  • Peter

    Peter - 2010-07-13

    thanks

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks