Any tools for PB AT&T?

Windows specific forum
Everything
Enthusiast
Enthusiast
Posts: 225
Joined: Sat Jul 07, 2018 6:50 pm

Any tools for PB AT&T?

Post by Everything »

Is there any tool to convert fasm to PB AT&T ?

The standard syntax causes compilation errors.
For example with default compiler we use

Code: Select all

!mov     rax, [gs: qword 60h]
With PB_Backend_C

Code: Select all

! __asm__ __volatile__ ("movq %gs:0x60, %rax")   ; error
! __asm__ __volatile__ ("movq %%gs:0x60, %%rax") ; error
                               ^
Does PB use some intermediate syntax or what?