aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/mach.rb
AgeCommit message (Collapse)Author
2014-12-11mach: improve otool failure handling.Mike McQuaid
2014-12-11mach: handle empty otool output.Mike McQuaid
2014-10-11Revert "Don't raise in mach_data so the debugger doesn't catch it"Jack Nagel
This reverts commit 4f8a3e2113c2e7b88600ff6371f9f70579c55509.
2014-10-11Revert "Handle read(n) returning nil"Jack Nagel
This reverts commit 578cb637594d32b86322be29205329d700ad75ca.
2014-10-10Handle read(n) returning nilJack Nagel
Fixes #33090.
2014-10-10Don't raise in mach_data so the debugger doesn't catch itJack Nagel
Closes #33088.
2014-04-13Allow access to both the linked dylibs and the dylib IDJack Nagel
2013-12-14Remove unnecessary captures in otool regexpJack Nagel
2013-12-14Unify install name parsingJack Nagel
2013-12-14Move Pathname#dynamically_linked_libraries to mach moduleJack Nagel
2013-08-24Fix const reference in machAdam Vandenberg
Fixes #22090.
2013-08-15Mach: add as_cmake_arch_flags helperMisty De Meo
2013-08-15Mach: improve PPC arch detectionMisty De Meo
Also adds some reusable constants into the global Hardware::CPU namespace, available on both OS X and Linux.
2013-03-11mach.rb: remove incorrect commentJack Nagel
IO#read does not raise EOFError, it just returns an empty string for each call after it consumes the underlying file or stream. This module is going to be refactored and the begin/rescue is going to be removed anyway.
2013-03-11Portability fixes to run Homebrew on Linux systemsShaun Jackman
Closes #16344. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-03Architecture: add flag for ppc supportAdam Vandenberg
2012-08-21mach-o: use any? instead of map and include?Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-16Teach Mach-O machinery about bundlesJack Nagel
c.f. #12810. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-16Fix indentation in MachO#mach_dataJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30archs_for_command: use new Mach-O Pathname methodsJack Nagel
- Reimplement archs_for_command on top of the new Mach-O methods - Move ArchitectureListExtension to mach.rb - Add a test for the ArchitectureListExtension Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30Pathname: add Mach-O moduleJack Nagel
The MachO module contains methods for learning about Mach-O binaries, and can be used where one might normally shell out to file(1). Signed-off-by: Jack Nagel <jacknagel@gmail.com>