Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2004, 23:42
epikur
 
Posts: n/a
ASM coding, do you use a special program, or can you use C for asm-coding instead

If you code in ASM, do you use a program for it?
Is there any development tool regarding ASM (a real development tool, not some stupid editor recognicing ASM-syntax),

eg. If you program in C++ you might have Visual studio C++

And how do you debug your coding errors in ASM?, isnt it hard to make correct codes in ASM, if you make semantic errors, it gotta be hard to trace the problem. I have seen some keygen source code in ASM, but it doesn't look easy to edit.

Is it possible to just program in C, and insert the asm code as a func of

__asm()
link for info about this func here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccelng/htm/msmod_35.asp


I belive ppl code keygen in ASM to repeat the assemble-code they analysed from the program key-routine to make a valid key. But is it possible to do this if I just stick to plain C/C++ programming using the mentiened func above?



- Existens of develment tool for ASM-coding?
- Possible to just use __asm func and stick with coding in C?
Reply With Quote
  #2  
Old 08-16-2004, 00:12
diablo2oo2's Avatar
diablo2oo2 diablo2oo2 is offline
Family
 
Join Date: Mar 2004
Posts: 232
Rept. Given: 7
Rept. Rcvd 111 Times in 26 Posts
Thanks Given: 2
Thanks Rcvd at 20 Times in 7 Posts
diablo2oo2 Reputation: 100-199 diablo2oo2 Reputation: 100-199
check this:

http://board.win32asmcommunity.net/forumdisplay.php?forumid=24

anyway i only use ultraedit+masm8.2+reseditors for asm coding
__________________
Thinking In Bytes
Reply With Quote
  #3  
Old 08-16-2004, 01:33
McS2oo4
 
Posts: n/a
Lightbulb asm coding tools

this is what I use for asm coding:

- UltraEdit (with Masm32 syntax highlight text database loaded)
- Masm32 (latest version is 8.2)
- Resource Builder 2.0 (or you can use VC++ editor)
if you are begginer look at Iczelion's tuts (included in Masm32 dist)

where to find this? ...Google
Reply With Quote
  #4  
Old 08-16-2004, 01:36
amnesia
 
Posts: n/a
Would learning Win32 ASM Programming helps in the RE process? Just wondering.
Reply With Quote
  #5  
Old 08-16-2004, 02:25
McS2oo4
 
Posts: n/a
Quote:
Originally Posted by amnesia
Would learning Win32 ASM Programming helps in the RE process? Just wondering.
I will answer this with a question:
How you can repair a Car if you only know to drive it?
Reply With Quote
  #6  
Old 08-16-2004, 02:37
amnesia
 
Posts: n/a
Quote:
Originally Posted by McS2oo4
I will answer this with a question:
How you can repair a Car if you only know to drive it?
I get what you mean. I just got to learn things one at a time

Last edited by amnesia; 08-16-2004 at 02:52.
Reply With Quote
  #7  
Old 08-16-2004, 02:44
JMI JMI is offline
Leader
 
Join Date: Jan 2002
Posts: 1,627
Rept. Given: 5
Rept. Rcvd 199 Times in 99 Posts
Thanks Given: 0
Thanks Rcvd at 98 Times in 96 Posts
JMI Reputation: 100-199 JMI Reputation: 100-199
Actually, repairing a car you do not know how to drive is not a very good analogy. One can repair a machine if one knows how the machine "works." Which is not necessarily the same as how to "steer" it down the road.

However with reverse engineering, one does NOT need to know how to actually write programs in ASM to learn how to reverse programs written in higher level languages. It certainly doesn't hurt to have such knowledge, but it is certainly NOT required. What is required is that you understand the process and procedure structure and especially the opcodes in ASM. In other words, you need to know what the heck the code is actually doing in order to be able to understand what is happening when you step through the code.

Consider it in this manner. Most debuggers only show you a view of the program displayed in ASM. If you do not understand the movement of data into and our of registers, or the use of pointers, or the use of addresses+offsets, you are NOT going to understand what you are looking at in the windows of the debugger. So one needs to be able to recognize the code process to figure out where a change in the code might be required. This is different than knowing how to actually write an entire program in ASM.

Regards,
__________________
JMI
Reply With Quote
  #8  
Old 08-16-2004, 05:49
epikur
 
Posts: n/a
It is probably more importent to fully understand the ASM-codes (algorithm) than to be able to write in ASM when it comes to RE. (Both are importent ofcause)

I have Editplus and Ultraedit with syntax highlightings, Masm, HLA and some resource editors. I didnt knew you used resource-editing when making programs in ASM. I believe you can setup ultraedit to compile your codes in options.

I have read the first 3 pages of ASM-coding tutorials by Iczelion. Its really good.

Thx for the replies, I think I'll got what I wanted. I better first improve my ASM-knowledge before coding in it

I will put ASM-coding aside until later....
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
For all Olly and coding GUru's NeOXOeN General Discussion 15 07-03-2005 02:57
Coding Bogdanbjn General Discussion 3 07-29-2003 22:14
coding question guy General Discussion 5 03-14-2003 21:05


All times are GMT +8. The time now is 00:26.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )