|
|
|
Re: nasm -f bin / Elf format | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
> Working gradualy, I tried to modify some data in a .data section, > and got a segmentation fault. You probably didn't set your the writable flag for the program section that includes .data. If you created your program section header table manually, make sure that p_flags (the second-to-last field) includes the writable flag (4 = readable, 2 = writable, 1 = executable). > Is that because there isn't a section header table with an entry > indicating that the .data section is writable? No, the section header table is not used when loading/executing ELF binaries. b - : send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Kernel Newbies] [Security] [Linux C Programming] [Linux for Hams] [DCCP] [Netfilter] [Bugtraq] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Video 4 Linux]
![]() |