Author Topic: c++ imagerel 64 bits  (Read 884 times)


  • Member
  • *****
  • Posts: 1189
    • EditMasm
c++ imagerel 64 bits
« on: September 07, 2015, 06:26:12 PM »
the c++ /FA generate in 64 bits imagerel who couldn't be compile without modifies (label Far):
$pdata$_vsprintf_s_l DD imagerel $LN4
   DD   imagerel $LN4+99
   DD   imagerel $unwind$_vsprintf_s_l
pdata   ENDS
$LN4:           ; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<    change : by  LABEL FAR
   mov   QWORD PTR [rsp+8], rbx
   mov   QWORD PTR [rsp+16], rbp
   mov   QWORD PTR [rsp+24], rsi
I am not sure of FAR,link emit warning "different type of .rdata" but it's work

Fa is a musical note to play with CL