Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-05-2003, 06:15 PM   #1
Registered: Oct 2003
Distribution: Redhat 9
Posts: 40

Rep: Reputation: 15
Question Some General Linux Newb Questions

Hi y'all

Couple of newb questions

1) Is there a way I can get vim to point to different compilers or assemblers based on file extensions ? What I want is to be able to load a file with an .asm extension ,for instance, have asm syntax highlighting and what not load automatically, give it an assemble command, assembly with nasm, and catch the the output in another buffer. I can do this with emacs but am finding it to be more and more of a kludge (bout the only thing I still use it for is Lisp/Scheme). FYI I'm reading through the vim book @

2) Is there any decent debuggers and disassemblers for linux ? Something along the lines of SoftICE , Olydbg , and IDA. I'm sorry but gdb is an absolute pain in the ass to work with (makes me feel like I'm back in the old dos days with debug.exe). After years of reading Intel syntax (wich admitedly was very nonintuitive @ first) trying to decipher AT&T is making me go cross-eyed

3) I'm interested in packers/encrypters ,of wich there are tons in the the win32 world, but I don't see many for linux . Anyone know of some linux sites for this ? I need some indepth info on playing with elf headers. I remember in dos there was a way that you could build self repairing exe files can you do this with elf ?


Old 11-05-2003, 06:47 PM   #2
Registered: Jun 2003
Location: Long Island, NY
Distribution: Gentoo Unstable (what a misnomer)
Posts: 380

Rep: Reputation: 30
1) gdb is a great debugger. Of course you don't really
need to use it directly if you want something a little more
pretty get a front-end
ddd, kdbg or something like that

kgdb for kernel debugging

2) for a disassembler check out ldasm

3) The elf file format for your viewing pleasure

4) The thing is there is not much of a cracking warez scene
in linux b/c most of the programs available also have the
source code available. So there aren't a lot of cracker

5) Self repairing executables aren't really feasible b/c
of privilege separation. Linux a real multi-user
operating system and as such users aren't allowed
to mess with the executables with out privileges.
You can write self-modifying code but it will only be
in memory. You could conceivably do it but it would
be silly.

6) For packers try UPX and tinlink

7) If you are interested in encryption check out gnupg

8) You will want to check out nasm if gas and at&t
syntax is bugging you.

if you really want to learn.
check out
for software go to
and as always

Last edited by LogicG8; 11-05-2003 at 06:52 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux general questions Aphex_Twin2 Linux - General 5 05-01-2005 11:04 AM
General Linux questions tttstarr Linux - Newbie 8 01-25-2005 10:57 AM
Window->Linux Newb Questions...(Yes I did search a little!) DreameR-X Linux - Newbie 22 12-07-2004 11:27 PM
Some general linux newb questions Levitate Linux - Newbie 3 08-05-2004 10:40 AM
Newb questions regarding USB, modem, and general FC1 Linux help LaptopLinux Linux - Newbie 2 05-31-2004 12:44 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration