nixpkgs/pkgs
aszlig b25b6e0c75
stdenv: Improve ELF detection for isELF
The isELF function only checks whether ELF is contained within the first
4 bytes of the file, which is a bit fuzzy and will also return
successful if it's a text file starting with ELF, for example:

  ELF headers
  -----------

  Some text here about ELF headers...

So instead, we're now doing a precise match on \x7fELF.

Signed-off-by: aszlig <aszlig@nix.build>
Acked-by: @Ericson2314
Closes: https://github.com/NixOS/nixpkgs/pull/47244
2018-09-25 06:55:18 +02:00
..
applications Merge branch 'master' into staging 2018-09-24 21:18:23 +02:00
build-support Merge pull request #47233 from oxij/tree/mass-rebuild-noop-cleanups 2018-09-25 00:04:52 -04:00
common-updater
data Merge branch 'master' into staging 2018-09-24 21:18:23 +02:00
desktops Merge pull request #45941 from NixOS/staging-next 2018-09-23 09:31:28 +02:00
development Merge pull request #47233 from oxij/tree/mass-rebuild-noop-cleanups 2018-09-25 00:04:52 -04:00
games Merge pull request #46586 from elitak/factorio 2018-09-22 19:57:12 +00:00
misc libcardiacarrest: 12.1-6 -> 12.1-7 2018-09-23 17:46:43 +00:00
os-specific Merge pull request #47233 from oxij/tree/mass-rebuild-noop-cleanups 2018-09-25 00:04:52 -04:00
servers Merge branch 'master' into staging 2018-09-24 21:18:23 +02:00
shells zsh: 5.6.1 -> 5.6.2 2018-09-15 00:05:48 -05:00
stdenv stdenv: Improve ELF detection for isELF 2018-09-25 06:55:18 +02:00
test Merge branch 'master' into staging 2018-09-24 21:18:23 +02:00
tools Merge branch 'master' into staging 2018-09-24 21:18:23 +02:00
top-level Merge branch 'master' into staging 2018-09-24 21:18:23 +02:00