DNSフラグメント攻撃についてはこちらを参照されたい。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define SWAP(a, b) if (arr[a] > arr[b]) { uint8_t tmp = arr[a]; arr[a] = arr[b]; arr[b] = tmp; } | |
| // Sorting network for 9 elements (25 steps) | |
| void SortingNetwork9(uint8_t *arr) { | |
| SWAP(0, 1); | |
| SWAP(3, 4); | |
| SWAP(6, 7); | |
| SWAP(1, 2); | |
| SWAP(4, 5); | |
| SWAP(7, 8); |
2025/05/25 更新
この記事は、自作OS Advent Calendar 2018の 12/2 の記事として書かれました。
意外と、まとまったページが無いという認識だったので、記事にしてみました。
- Install Xcode (Avaliable on the Mac App Store)
- Install Xcode Command Line Tools (Preferences > Downloads)
- Install depot_tools
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git$ nano ~/.zshrc- Add
path=('/path/to/depot_tools' $path)