Commit Graph

74 Commits

Author SHA1 Message Date
Mike Hommey
bec61c100c 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
4ee581abeb 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
e518400cac 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
6da9426048 Bug 629639 - Build elfhack injected code without stack protection. r=khuey a=bsmedberg 2011-02-03 00:15:20 +01:00
Mike Hommey
bc8718a241 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
352aaf6c99 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
9f4b04451d 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
414430be51 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
5b2d64d6da 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
5dbccc7a1e Bug 628593 - Remove -fno-exceptions from CXXFLAGS when building elfhack. r=khuey,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey
0ebe63f366 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
3518aa3b87 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
9ea937dac5 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
5190cd7346 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
5dd0060e02 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
3a16edea86 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
cc0eedf4c6 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
3a7abc2fb4 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
d6ad1497ca 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
1dbb7ed286 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
2fd1db48c3 Bug 628618 part 1 - Support ElfLocations without a corresponding ElfSection. r=tglek,a=sdwilsh 2011-01-28 09:22:57 +01:00
Mike Hommey
7571185aaf Bug 628283 - Make elfhack handle GNU_RELRO segments better. r=tglek,a=dbaron 2011-01-24 23:11:46 +01:00
Mike Hommey
6f2a78dca1 Bug 606145 part 3 - Integrate elfhack with the build system. r=khuey,a=bsmedberg 2011-01-24 09:56:40 +01:00
Mike Hommey
f56acbddff Bug 606145 part 2 - Import elfhack code. r=tglek,a=bsmedberg 2011-01-24 09:56:40 +01:00