# Refactor flushing of MachO exe · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c4054f8e0a6a7dea8570507d2a38b38a392ddd0d)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c4054f8e0a6a7dea8570507d2a38b38a392ddd0d

Requested commit: c4054f8e0a6a7dea8570507d2a38b38a392ddd0d

Commit: c4054f8e0a6a7dea8570507d2a38b38a392ddd0d

Tree: d1ee1b48a87ab9aaded253a69c9201d1dfd44153

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Refactor flushing of MachO exe

This commit refactors free space analysis (and VM analysis) somewhat.
This is still far from perfect, but at least it's not using any
hardcoded values.

This commit also reorganizes different flushing bits here and there,
so that bit common to Exe and Obj are put in the common path, while
Exe-specific are behind an appropriate switch/if statement.

```

## Parents

- [737a8bf2041158b3036bda9130f9ce3f6c1ad582](https://git.cafe/gitcafe/zig/commit/737a8bf2041158b3036bda9130f9ce3f6c1ad582?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c4054f8e0a6a7dea8570507d2a38b38a392ddd0d?format=markdown)
