Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. keratox

    Syscall problem

    I think the problem was in the instruction "mov byte [esi+7],0, now I've changed this works fine: .data sh db "/bin/sh" in: SECTION .data sh db "/bin/sh",0 And obviously I removed the "mov byte [esi+7],0" which seems to write some other memory location. Thank you
  2. keratox

    Syscall problem

    Thank you for your reply AirCon, That's all the code of my program, I'm new in the assembly language on linux and I'm trying to understand how syscall work, but I can't figure out what is wrong on my code. However this is what I got from gdb by tracing step to step: ..... ..... (gdb) step 12...
  3. keratox

    Syscall problem

    Hi all, the problem is that my program produces a segmentation fault but I don't know why, but the strange thing is that when I use gdb and I set a breakpoint to a specific line of the code, the program terminates correctly! Here's the code: global main main: lea esi,[sh] xor eax,eax...

Part and Inventory Search

Back
Top