Michka Popoff 5c068ef82c elf.rb: avoid corrupted elf files
Some elf files like unittest files or memory dumps may not be completely
readable by readelf.

Readelf will fail after the following message:
readelf: Warning: possibly corrupt ELF header - it has a non-zero program header offset, but no program headers

This patches avoid these files when there is a non zero offset but no
program headers
2019-03-09 17:16:36 +01:00
..
2019-02-27 14:02:46 +00:00
2019-03-07 16:39:42 -05:00
2019-01-23 21:57:40 +00:00
2019-02-25 14:21:13 +00:00
2019-03-09 17:16:36 +01:00
2019-03-03 22:58:31 -08:00
2019-03-05 08:36:04 +00:00
2019-01-28 19:31:21 +00:00
2019-01-23 21:57:40 +00:00
2019-02-21 21:15:01 -08:00
2019-02-21 12:55:49 +00:00
2019-01-23 21:57:40 +00:00
2019-02-21 12:55:49 +00:00
2019-02-27 18:29:59 +01:00
2019-02-21 12:56:22 +00:00

Homebrew's Formula API

This is the (partially) documented public API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!