What are windows binaries

Что означает папка Binaries?

Ответы (4) 

Здравствуйте! Поудаляла некоторые программы — комп виснет нереально. И что означает папка Binaries?

Надеюсь удаляли через «Программы и компоненты».

Где вы нашли эту папку Binaries ?

Был ли этот ответ полезным?

К сожалению, это не помогло.

Отлично! Благодарим за отзыв.

Насколько Вы удовлетворены этим ответом?

Благодарим за отзыв, он поможет улучшить наш сайт.

Насколько Вы удовлетворены этим ответом?

Благодарим за отзыв.

1 пользователь нашел этот ответ полезным

Был ли этот ответ полезным?

К сожалению, это не помогло.

Отлично! Благодарим за отзыв.

Насколько Вы удовлетворены этим ответом?

Благодарим за отзыв, он поможет улучшить наш сайт.

Насколько Вы удовлетворены этим ответом?

Благодарим за отзыв.

Данная папка не относиться к продуктам Microsoft.

Возможно она была создана какой либо игрой-программой.

Как и на что влияет данная папка вам может сообщить только создать программы, которую создала данная папка.

Был ли этот ответ полезным?

К сожалению, это не помогло.

Отлично! Благодарим за отзыв.

Насколько Вы удовлетворены этим ответом?

Благодарим за отзыв, он поможет улучшить наш сайт.

What are binaries? [closed]

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 6 years ago .

I see very often people using term binaries in different context. What are binaries? Collection on binary files, installation files, .dll files or what? Or is it just an general term for some collection of files on disk?

3 Answers 3

Binary means composed of two pieces or two parts and may refer to different things in different worlds of Mathematical, Computing, Science and Others.

But, in Computing, Binary refers to :-

  • Binary file, composed of something other than human-readable text
  • Executable, a type of binary file that contains machine code for the computer to execute
  • Binary code, the digital representation of text and data

The word binaries is used as a set of files which are produced after compiling essentially the object code that runs on machines. (and virtual machines/runtimes in case of Java/.NET)

Читайте также:  Можно переустановить windows mobile

While there are other things like JPEG photo, MPEG video, Zip files etc. are also binary in the sense they are not text or ascii files, but word binaries (used in context of software development) doesn’t include them.

In the linux/unix world, developers and geeks prefer source code to executable binaries so they can compile and tweak them themselves.

When an app is free that is awesome. If it is distributed as binary, that is still awesome. When it is distributed as source that is really awesome.

How to check if a binary is 32 or 64 bit on Windows?

Is there an easy way to check if a binary is 32 or 64 bit on Windows? I need to check before I move the program to a 32bit machine and experience a spectacular failure.

24 Answers 24

After examining header values from Richard’s answer, I came up with a solution which is fast, easy, and only requires a text editor. Even Windows’ default notepad.exe would work.

Open the executable in text editor. You might have to drag-and-drop or use the editor’s Open. dialog, because Windows doesn’t show Open with. option in context menu for executables.

Check the first printable characters after the first occurrence of PE . This part is most likely to be surrounded by at least some whitespace (could be a lot of it), so it can be easily done visually.

Here is what you’re going to find:

32-bit:

64-bit:

A word of warning: using default Notepad on big files can be very slow, so better not use it for files larger than a megabyte or few. In my case in took about 30 seconds to display a 12 MiB file. Notepad++, however, was able to display a 120 MiB executable almost instantly.

This is solution might be useful in case you need to inspect a file on a machine you can’t install any additional software on.

Additional info:

If you have a HEX-Editor available, the offset of PE Signature is located at offset 0x3C . The signature is PE\0\0 (letters «P» and «E» followed by two null bytes), followed by a two byte Machine Type in Little Endian.

Читайте также:  Как работать с vpn windows 10

The relevant values are 0x8664 for a 64-bit executable and 0x014c for a 32-bit one ( 64 86 and 4c 01 respectively when adjusted for endianness, but any decent hex editor will automatically handle endianness when you search for a hex value). There are a lot more possible values, but you probably won’t ever encounter any of these, or be able to run such executables on your Windows PC.

Full list of machine types, along with the rest of .exe specifications, can be found in Microsoft PE and COFF Specification Machine Types section.

What is the Windows Subsystem for Linux?

The Windows Subsystem for Linux lets developers run a GNU/Linux environment — including most command-line tools, utilities, and applications — directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup.

  • Choose your favorite GNU/Linux distributions from the Microsoft Store.
  • Run common command-line tools such as grep , sed , awk , or other ELF-64 binaries.
  • Run Bash shell scripts and GNU/Linux command-line applications including:
    • Tools: vim, emacs, tmux
    • Languages: NodeJS, Javascript, Python, Ruby, C/C++, C# & F#, Rust, Go, etc.
    • Services: SSHD, MySQL, Apache, lighttpd, MongoDB, PostgreSQL.
  • Install additional software using your own GNU/Linux distribution package manager.
  • Invoke Windows applications using a Unix-like command-line shell.
  • Invoke GNU/Linux applications on Windows.

What is WSL 2?

WSL 2 is a new version of the Windows Subsystem for Linux architecture that powers the Windows Subsystem for Linux to run ELF64 Linux binaries on Windows. Its primary goals are to increase file system performance, as well as adding full system call compatibility.

This new architecture changes how these Linux binaries interact with Windows and your computer’s hardware, but still provides the same user experience as in WSL 1 (the current widely available version).

Individual Linux distributions can be run with either the WSL 1 or WSL 2 architecture. Each distribution can be upgraded or downgraded at any time and you can run WSL 1 and WSL 2 distributions side by side. WSL 2 uses an entirely new architecture that benefits from running a real Linux kernel.

Why are Windows binaries of libimobiledevice dependent on iTunes?

libimobiledevice claims to be a cross-platform library for communication with iOS devices. On Linux it might require some other packages to work but it does not require any software from Apple (which hardly exists for Linux). However, any form of it on Windows doesn’t work without iTunes (or, more specifically, an Apple Device Driver and Apple Application Support that you get with iTunes). If this library is truly cross-platform, what does Windows lack compared to Linux that makes it impossible to run without iTunes?

Читайте также:  Drivers ati radeon x1600 windows 10

As a side question, I am only looking to mount both main and document parts of an iDevice file system, so if there is a simple way please let me know.

1 Answer 1

libimobiledevice isn’t dependent on iTunes, but on the Apple Device Driver and the Apple Application Support service as you indicate.

libimobiledevice has the equivalent of the Apple Device Driver and the Apple Application Support components in the form of the open source usbmuxd library.

However, usbmuxd uses libusb to interact with USB devices. libusb has very good support for Linux and macOS, but some functionality is missing on Windows. In particular, you cannot set the device configuration using libusb for Windows devices, and it’s required to work with iOS devices.

There are companies that do provide support for connecting to iOS devices on Windows without any Apple software on a commercial basis. The company I work for, Quamotion, is one of those; so you can get in touch with us if you want to know more. However, in most cases, there’s little benefit to doing so: the Apple software is stable and well tested, so there’s little incentive in using a 3rd party library for that.

If what you’re looking for is accessing parts of the iOS file system on Windows, you don’t need to worry about removing iTunes. You can connect to the AFC service running on the iOS device to interact with the Apple file system. libimobiledevice provides an API (not a command line program that you can use on Windows, though); and there are bindings in various programming languages for libimobiledevice.

Оцените статью