flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
neeraj9 05 Apr 2025, 19:17
I noticed a thread on symbolic / debug info for fasm 1, but not for fasm2. Is there a workaround to help with debugging using x64dbg when compiling with fasm2?
Ref: https://board.flatassembler.net/topic.php?t=9792 |
|||
![]() |
|
bitRAKE 05 Apr 2025, 23:25
It's not part of my workflow, but I did play with it a little.
|
|||
![]() |
|
neeraj9 06 Apr 2025, 04:14
Thanks for the thread. I do not see an option for dumping debug info when dealing with fasm2 for my assembly code.
I did notice the thread https://board.flatassembler.net/topic.php?t=22388, but did not find a mechanism in fasm2 to dump symbolic info. |
|||
![]() |
|
bitRAKE 06 Apr 2025, 07:10
It takes some work, tbh.
First, configure x64dbg: Preferences -> Engine -> "Save Database in Program Directory" (Turn off compression too?) Next add special listing script to start of assembly code (mostly based on Tomasz' work): include 'dbg_dd64.inc' Assemble your program. Rename *.dd64 -> *.exe.dd64 (Limitation of fasmg name scope. Which I also cover with a patch.) Debug with x64dbg. I've pushed an example to github. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.