Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
Get value of segment register at the specified address
     ea - linear address
     reg - name of segment register
returns: the value of the segment register. The segment registers in
32bit program usually contain selectors, so to get paragraph pointed by
the segment register you need to call sel2para() function.

long get_sreg(long ea, string reg);

Index | Previous topic | Next topic