Skip to content
Advertisement

Tag: assembly

Self modifying code always segmentation faults on Linux

i found an article about self modifying code and tried to do some examples, but i get always segmentation faults. As fas as i can understand, there is a violation in memory permissions. The code segment is (r)ead/e(x)ecute and so the attempt of writting results to this fault. Is there a way to test the program either by changing the

Compile/run assembler in Linux?

I’m fairly new to Linux (Ubuntu 10.04) and a total novice to assembler. I was following some tutorials and I couldn’t find anything specific to Linux. So, my question is, what is a good package to compile/run assembler and what are the command line commands to compile/run for that package? Answer The GNU assembler (gas) and NASM are both good

Advertisement