Граф коммитов

34 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 3b605d5000 Bug 661800 part 0 - Add a dependency of host_elf*.o upon elfxx.h, to circumvent bug 664362. r=ted 2011-06-16 06:28:59 +02:00
Mike Hommey 5807380164 Bug 649965 - Remove inlines on Elf_*::swap functions. r=tglek 2011-06-03 01:21:07 +02:00
Mike Hommey b7d8bff6f5 Bug 657396 - Move LDFLAGS after other flags when building elfhack test case. r=ted 2011-05-17 09:34:20 +02:00
Mike Hommey 6de32c8fa9 Bug 643690 part 1 - Avoid requiring libstdc++ symbol versions > GLIBCXX_3.4.8 (gcc > 4.1). r=ted,r=tglek 2011-04-15 11:03:17 +02:00
Mike Hommey 280bca9939 Bug 637341 - Don't try to do anything on binaries that have already been elfhacked. r=tglek 2011-03-14 14:41:41 +01:00
Mike Hommey 15a3c672da Bug 635966 - Avoid elfhack failure with llvm. r=khuey,a=shaver 2011-02-23 10:06:26 +01:00
Mike Hommey c4db75fea9 Bug 632920 part 2 - Add support for R_ARM_THM_JUMP24 relocation in elfhack. r=tglek,a=bsmedberg 2011-02-16 17:27:35 +01:00
Mike Hommey a38404af0e Bug 632920 part 1 - Refactor relocations application to avoid error-prone duplication of code in elfhack. r=tglek,a=bsmedberg 2011-02-16 17:25:51 +01:00
Mike Hommey 6cf32f9e51 Bug 629635 part 5 - Gracefully abort elfhack when injected code+data is bigger than original relocation section. r=tglek,a=blocking2.0:final 2011-02-12 10:28:34 +01:00
Mike Hommey 80c3bdea1e Bug 629635 part 4 - Make elfhack keep PT_GNU_RELRO segments as they were originally. r=tglek,a=blocking2.0:final 2011-02-12 10:28:34 +01:00
Mike Hommey 6b2a02f26f Bug 629635 part 3 - Add ElfSegment::getOffset and ElfSegment::getAddr functions. r=tglek,a=blocking2.0:final 2011-02-12 10:28:34 +01:00
Mike Hommey 45d53e96e2 Bug 629635 part 2 - Don't allow elfhack to move the .dynamic section. r=tglek,a=blocking2.0:final 2011-02-12 10:28:34 +01:00
Mike Hommey 6ed7532810 Bug 629635 part 1 - Make elfhack fail if different blocks need to be mapped to the same address. r=tglek,a=blocking2.0:final 2011-02-12 10:28:26 +01:00
Mike Hommey 6f896b3362 Bug 629639 - Build elfhack injected code without stack protection. r=khuey a=bsmedberg 2011-02-03 00:15:20 +01:00
Mike Hommey c6b6450cec Bug 629638 - Build elfhack injected code with a limited set of CFLAGS. r=khuey a=bsmedberg 2011-02-03 00:14:43 +01:00
Makoto Kato c5fbeda813 Bug 628606 - elfhack causes bustage since ARM target may not return arm. r=glandium,a=sdwilsh 2011-01-28 09:22:59 +01:00
Mike Hommey 8eb36d7f97 Bug 628988 part 2 - Adapt symbol tables content to elfhack changes. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey 78ab424e26 Bug 628988 part 1 - Modify elfhack test so that the executable actively calls something from the library. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey 7689402ee4 Bug 628595 - Avoid compiler warning about C++ style comments in C code in elfhack. r=jag,a-sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey df126a65a3 Bug 628593 - Remove -fno-exceptions from CXXFLAGS when building elfhack. r=khuey,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey 3c41419fc8 Bug 628232 part 2 - Allow to build elfhack injected code as thumb. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey a46608b3ad Bug 628232 part 1 - Use the init symbol from elfhack injected code as an entry point instead of hardcoding 0. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey a59a2243d8 Bug 628627 part 2 - Add messages inviting to file bugs and use --disable-elf-hack in case of elfhack failures. r=khuey,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey 4a0181e110 Bug 628627 part 1 - Raise hard errors in some more cases in elfhack. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey f1376f347d Bug 628618 part 7 - Use a whitelist of ELF sections that can be moved. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey b42bea9dc1 Bug 628618 part 6 - Delay refreshing of ElfSection addresses and offsets. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey 5aa5d025fd Bug 628618 part 5 - Don't set DT_REL*COUNT if it wasn't already set. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey 276396ec0a Bug 628618 part 4 - Initially set an address for the fake phdr ElfSection. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey f7c4f106f0 Bug 628618 part 3 - An ElfSection is relocatable if it has the SHF_ALLOC flag set independently of other flags. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey 89b4d7733f Bug 628618 part 2 - PT_DYNAMIC segment only contains SHT_DYNAMIC section. r=tglek,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey f08ea08f1a Bug 628618 part 1 - Support ElfLocations without a corresponding ElfSection. r=tglek,a=sdwilsh 2011-01-28 09:22:57 +01:00
Mike Hommey c886f4609d Bug 628283 - Make elfhack handle GNU_RELRO segments better. r=tglek,a=dbaron 2011-01-24 23:11:46 +01:00
Mike Hommey fb3d02898a Bug 606145 part 3 - Integrate elfhack with the build system. r=khuey,a=bsmedberg 2011-01-24 09:56:40 +01:00
Mike Hommey 82dcf6256c Bug 606145 part 2 - Import elfhack code. r=tglek,a=bsmedberg 2011-01-24 09:56:40 +01:00