We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b7cfc4 commit 0a697ebCopy full SHA for 0a697eb
tests/cc/current_py_cc_headers/abi3_headers_linkage_test.py
@@ -3,17 +3,20 @@
3
import sys
4
import pefile
5
import unittest
6
+import pathlib
7
8
from python.runfiles import runfiles
9
10
class CheckLinkageTest(unittest.TestCase):
11
def test_linkage(self):
12
rf = runfiles.Create()
- file_path = rf.Rlocation("_main/tests/cc/current_py_cc_headers/libbin_abi3.dll")
13
- if not file_path:
14
- self.fail("dll not found")
+ d = rf.Rlocation("_main/tests/cc/current_py_cc_headers")
+ d = pathlib.Path(d)
15
+ for f in d.glob("*.dll"):
16
+ print(f)
17
- print(f"[*] Analyzing dependencies for: {os.path.basename(file_path)}\n")
18
19
+ print(f"[*] Analyzing dependencies for: {file_path}\n")
20
21
try:
22
# Parse the PE file
0 commit comments