diff options
| author | Peter Waller <[email protected]> | 2014-09-24 08:54:47 +0100 |
|---|---|---|
| committer | Peter Waller <[email protected]> | 2014-09-24 08:54:47 +0100 |
| commit | d84f65866ce6e948f33581b439e31802dcd49a4f (patch) | |
| tree | 348b771cad00e051d2b8a3e83b3d4082c96a25bb | |
| parent | Merge pull request #10 from essentialkaos/master (diff) | |
| parent | Backported fix from EK goupx PART2 (diff) | |
| download | archived-goupx-d84f65866ce6e948f33581b439e31802dcd49a4f.tar.xz archived-goupx-d84f65866ce6e948f33581b439e31802dcd49a4f.zip | |
Merge pull request #11 from essentialkaos/master
Second part of fix for issue #9
| -rw-r--r-- | hemfix/hemfix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hemfix/hemfix.go b/hemfix/hemfix.go index 970e4a3..9f91154 100644 --- a/hemfix/hemfix.go +++ b/hemfix/hemfix.go @@ -116,7 +116,7 @@ func fixelf(elf *ELF.File, fd io.ReadWriteSeeker) error { continue } - if p.Off != 0 || p.Flags&ELF.PF_X != ELF.PF_X { + if p.Flags&ELF.PF_X != ELF.PF_X { continue } |