10 January 2022, 13:24 | #41 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
Awesome, 2022 is already better than 2021
|
16 January 2022, 14:38 | #42 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
When you disassemble a program, 1st goal is to match the original binary, but many times it is not the case with Resource, how do you fix this.?
Once you have a modified binary what program do you use to create a patch for other to apply ? spatch? wdelta? other ? |
16 January 2022, 14:46 | #43 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
|
IRA is better at reassembling identically a program. But you have to turn all optimization options off first.
That said, when I want to create a patch file, I disassemble only to figure out where to change things, and I patch the binary without reassembling it. Reassembling is better to add features, change a lot of stuff. |
16 January 2022, 19:13 | #44 | |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Quote:
It is perfectly possible to create 1:1 identical binary with ReSource, if that's not the case, you're doing it wrong. How do you use ReSource for disassembling? An example would be fine as otherwise it's hard to give you any tips on what to do differently. |
|
16 January 2022, 20:35 | #45 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
@StringRay
I load the exe, start disassemble, replace all +start occurrence by adding forward label, change the datatype when wrong DT (uncertain DT) use next error and fix them if required. Disassemble when the data is switch to code, +start replacement again. |
16 January 2022, 20:44 | #46 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
That sounds OK to me. You also need to make sure to have "New Syntax" enabled as otherwise ReSource omits the ".w" extension when using absolute short addresses (example: move.l #VBI,$6c.w would be disassembled as move.l #VBI,$6c if "New Syntax" is not enabled). This is a bug in ReSource and will lead to different binaries of course.
|
16 January 2022, 20:48 | #47 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
OK thanks do you proceed any diffently?
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Disassembler | copse | Coders. General | 86 | 01 January 2023 20:34 |
Peasauce disassembler | copse | Coders. General | 1 | 31 January 2021 20:54 |
IDA Disassembler | BippyM | Coders. General | 36 | 03 October 2018 10:51 |
68K assembler/disassembler syntax | nocash | Coders. Asm / Hardware | 13 | 23 April 2016 00:35 |
A good 68K disassembler | TikTok | request.Apps | 11 | 23 January 2002 03:49 |
|
|