|
6 | 6 | </picture> |
7 | 7 | </p> |
8 | 8 |
|
9 | | -<!-- |
10 | 9 | <img align="center" src="https://img.shields.io/github/stars/pwnfuzz/DiffRays?style=for-the-badge"> |
11 | 10 | <img align="center" src="https://img.shields.io/github/forks/pwnfuzz/DiffRays?style=for-the-badge"> |
12 | | ---> |
| 11 | +<img align="center" alt="PyPI - Downloads" src="https://img.shields.io/pypi/dm/diffrays?color=yellow&label=PyPI%20downloads&style=for-the-badge"> |
| 12 | + |
13 | 13 |
|
14 | 14 | # DiffRays - IDA Pro Binary Diffing Engine |
15 | 15 |
|
@@ -76,15 +76,14 @@ Linux: |
76 | 76 |
|
77 | 77 | ```bash |
78 | 78 | > diffrays --help |
79 | | - |
80 | 79 | ______ _ __ ________ |
81 | 80 | | _ (_)/ _|/ _| ___ \ |
82 | 81 | | | | |_| |_| |_| |_/ /__ _ _ _ ___ |
83 | 82 | | | | | | _| _| // _` | | | / __| |
84 | 83 | | |/ /| | | | | | |\ \ (_| | |_| \__ \ |
85 | 84 | |___/ |_|_| |_| \_| \_\__,_|\__, |___/ |
86 | 85 | __/ | |
87 | | - |___/ v1.6.1 Pi |
| 86 | + |___/ v2.0 Tau |
88 | 87 |
|
89 | 88 | usage: diffrays [-h] {diff,server,autodiff} ... |
90 | 89 |
|
@@ -157,6 +156,17 @@ This will: |
157 | 156 |
|
158 | 157 | 3. Open your browser at http://localhost:5555 to view results. |
159 | 158 |
|
| 159 | +
|
| 160 | +### 👾 Analyzing Binaries Without Symbols |
| 161 | +
|
| 162 | +When diffing binaries that contain no symbols or are stripped, you can enable heuristic matching. With heuristic mode, functions are matched based on code patterns and structural similarity rather than function names. |
| 163 | +
|
| 164 | +> Note: Heuristic matching does not guarantee 100% accurate function matches, but it generally works well and continues to improve. |
| 165 | +
|
| 166 | +```sh |
| 167 | + python diffrays.py diff old_binary.exe new_binary.exe --heuristic |
| 168 | +``` |
| 169 | +
|
160 | 170 | --- |
161 | 171 |
|
162 | 172 | ## 🔬 Example Workflows |
@@ -185,19 +195,19 @@ This will: |
185 | 195 | ``` |
186 | 196 |
|
187 | 197 | 4. **Browse interactively** |
188 | | - - Open http://127.0.0.1:5555 |
189 | | - <br> |
190 | | - <img src="/diffrays/static/sample/dashboard.png"> |
| 198 | + - Open http://127.0.0.1:5555 |
| 199 | + <br> |
| 200 | + <img src="/diffrays/static/sample/dashboard.png"> |
191 | 201 |
|
192 | 202 | 5. **Browse Diff Results** |
193 | | - - The Diff Result page shows the results of binary diffing and can be sorted based on changes. |
194 | | - <br> |
195 | | - <img src="/diffrays/static/sample/diff.png"> |
| 203 | + - The Diff Result page shows the results of binary diffing and can be sorted based on changes. |
| 204 | + <br> |
| 205 | + <img src="/diffrays/static/sample/diff.png"> |
196 | 206 |
|
197 | 207 | 6. **View Function Details** |
198 | | - - Clicking on a function displays the detailed diff result. |
199 | | - <br> |
200 | | - <img src="/diffrays/static/sample/result.png"> |
| 208 | + - Clicking on a function displays the detailed diff result. |
| 209 | + <br> |
| 210 | + <img src="/diffrays/static/sample/result.png"> |
201 | 211 |
|
202 | 212 |
|
203 | 213 | ### Automatic Diffing - CVE-2025-53149 |
|
0 commit comments