Questions tagged [binary]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
38 views

How To Make my Binary Translator Process Multiple Binary Numbers

I'm currently building a binary translator (binary to text) in the AppleScript editor. The code I wrote only lets you input one binary number at a time. I want to enter in multiple binary numbers at a ...
1
vote
0answers
16 views

How do I add Unix executables to the Parental Controls 'Allowed Apps' whitelist?

One example is some of Karabiner's executables, I get popups saying "You don't have permission to use the application "karabiner_grabber." as well as karabiner_console_user_server and a few others. ...
0
votes
1answer
79 views

Equivalent of objcopy -0 binary for Mach-O object files in macOS?

Equivalent of objcopy -O binary <FILE> <FILE>.bin for Mach-O object files in macOS? I want to dump the executable code in the __TEXT segment to a flat binary file on macOS. This can be ...
12
votes
4answers
6k views

Why isn't a binary file shown as 0s and 1s?

In my Mac OS, we know the files under /bin all are binary files.: crafts-MBP:bin ldl$ pwd /bin crafts-MBP:bin ldl$ ls [ csh ed launchctl mv rmdir tcsh bash date expr ...
0
votes
1answer
39 views

Is there a way to Upgrade terminal sftp client?

The pre-installed sftp binary on macOS sucks. When I use my ubuntu machine, sftp has glorious things like a history and tab completion. I've looked around, and cannot tell a clear cut path to ...
1
vote
1answer
291 views

Is there official documentation for the Mach-O file format/ABI used by OSX that still exists as of December 2018?

Why can't I find any official documentation for the file format? I've seen this link a lot, but it seems that they've taken whatever used to be there down. The best I could find was some blog posts ...
0
votes
1answer
65 views

HomeBrew offloading package compilation

My poor old 2008 aluminium MacBook isn't the only old piece of kit I have running homebrew packages, I really appreciate the ability to have a package manager in Mac OS, at least while I make my way ...
0
votes
2answers
67 views

MacOS and Binary/CPU [closed]

This question applies to all operating systems and hardware, but I was curious what is going on behind the scenes when you install an OS on hardware. I know that macOS comes preinstalled on Macbooks, ...
1
vote
1answer
214 views

MacOS bin and sbin

I was curious what language the default binaries and system binaries that come with macOS are written in. I am sure it's not just one language, but is there one language that is common throughout most ...
1
vote
2answers
341 views

Adding a new directory to PATH varibale

What is the de-facto way to export a binary/executable to my global PATH? I have seen different answers to this, but I am looking for the best answer. Basically, if I go on Github and download a ...
2
votes
1answer
173 views

Adding binary to ~/.local/bin

In short, I have a working executable in my home directory. I want to make the executable available in the Terminal for the current user in any directory. More context: The executable is geckodriver. ...
2
votes
0answers
32 views

What file types does Finder search the *content* of?

I noticed that the Search bar in Finder not only searches the filenames, but also the contents of some types of files. It appears that the search includes the content of all text files, and even some ...
2
votes
0answers
199 views

App not working, binary working

I have a Wine app that allows me to run a windows game on a mac. However for some reason, if I open the app directly, the binary file within opens, but it does not seem to run as intended and doesn't ...
1
vote
2answers
557 views

Install Autoconf, Automake trying to install pcre

I don't asking by homebrew or port only source code /binary I was trying to install pcre... $ cd /Volumes/ADATAHD/macOS/Source_Codes/pcre-8.39 $ ./configure --prefix=/usr/local/Custom/pcre --enable-...
0
votes
2answers
80 views

What is writing all these files and folders to my Documents?

Inside my Documents folder there are a bunch of folders named with what appear to be hexidecimal numbers, eg. 01, 1b, 84, aa, etc. Often they're empty, but some have one or two files named with a hash:...
2
votes
1answer
155 views

Where is POSIX Ex editor on Mac?

Since Ex is a standard Unix editor (standardized by POSIX), I expect to be shipped with OS X, however it's linked into vim instead as shown below: $ stat /usr/bin/ex File: ‘/usr/bin/ex’ -> ‘vim’ ...
0
votes
1answer
4k views

How to interpret 'xxd' command output

So, favouring the command xxd -b filename over hexdump -C filename to get the actual 1s and 0s of a binary file, i get this output from a file: 00009f6: 00000000 00000000 00001100 00000000 00000000 ...
2
votes
0answers
187 views

Console command recAudio is broken in modern iOS

A while ago I used to use the recaudio console application provided by Erica Utilities, installed in Cydia on jailbroken devices. It doesn't seem to work any longer, which isn't terribly surprising, ...
4
votes
1answer
214 views

How should I uninstall a static ffmpeg binary?

I've downloaded ffmpeg static binary. If I wanted to 'uninstall' it from my computer, is deleting the static binary enough ? My understanding is that static binary contains all of the required ...
3
votes
1answer
1k views

Command line tools to replace bytes in a file

I need to write a script that patches a few bytes at a particular offset in a binary file. I know of textual tools for this task (sed, though I find it utterly hard to use) but can't find one for ...
3
votes
0answers
119 views

Raw binary midi stream in terminal?

I want to be able to cat the device file of a raw binary input stream from a midi controller. In Ubuntu, the process to do this was something like cat /dev/dmmidi1. However, I do not see such a file ...
1
vote
1answer
3k views

What are stub applications?

I am trying to understand how and where Java is installed on my Mac (Mavericks this time) and I found this question and answers: Need help understanding Oracle's Java on Mac — Stack Overflow Here is ...
1
vote
1answer
4k views

“Cannot execute binary file” with alias of binary

I have installed both python3.3 and python2.6. I have set python3.3 to default by creating an alias named "python" in usr/bin and another one for python2.6 named "python2.6". Now if I type in the ...
0
votes
1answer
355 views

Will a Lion Fortran Binary work on Mountain Lion?

I want to install a fortran binary from here GCC wiki GFortran binaries, but the binary for Mountain Lion is not yet available. Would the binary for Lion work, or would it be a terrible mistake to ...
5
votes
4answers
12k views

How to edit binary InfoPlist.strings in Mountain Lion (for Finder to display folders before files)?

The article Force your Mac to sort folders on top of files (windows style), lets the Finder change its sorting order to first show folders and next all files. This trick doesn't seem to work with ...
3
votes
1answer
138 views

What's the “@”mark at the file description?

I installed princexml for Mac. With ls -alF, I have -rwxr-xr-x@ 1 prosseek admin 14190120 Jun 8 16:11 prince*. What's the meaning of @ in -rwxr-xr-x@? And when I tried to execute the binary, I got ...