Skip to content

Commit 8b720df

Browse files
Makarov-AAvasily-v-ryabov
authored andcommitted
Fix more codeql issues
Signed-off-by: Makarov-AA <43129398+Makarov-AA@users.noreply.github.com>
1 parent f0dc31b commit 8b720df

File tree

3 files changed

+30
-21
lines changed

3 files changed

+30
-21
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Requirements for development purposes
2+
23
* setuptools >= 65.5.1
34
* wheel >= 0.38.4
45
* .NET Framework Targeting Pack >= 4.8
@@ -7,4 +8,4 @@
78
* MSVC >= 143
89
* cmake >= 3.26.3
910

10-
**NOTE**: You may use PyCharm + Visual Studio with C++/C# components for development
11+
**NOTE**: You may use PyCharm + Visual Studio with C++/C# components for development

README.md

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
# injected
22

3-
injected is a Python package that allows you to inject DLLs into running processes on Windows (32 or 64-bit).
3+
injected is a Python package that allows you to inject DLLs into running
4+
processes on Windows (32 or 64-bit).
45

5-
This can be useful for various tasks, such as debugging or adding functionality to existing applications.
6+
This can be useful for various tasks, such as debugging or adding
7+
functionality to existing applications.
68

7-
This is initially created for desktop GUI automation purpose (project pywinauto), because an injected DLL can access GUI widgets' text properties with much better precision and coverage than standard OS APIs like MS UI Automation API or Win32 API. Other use cases are potentially possible at your own risk according to the law and the project license.
9+
This is initially created for desktop GUI automation purpose
10+
(project pywinauto), because an injected DLL can access GUI widgets' text
11+
properties with much better precision and coverage than standard OS APIs like
12+
MS UI Automation API or Win32 API. Other use cases are potentially possible at
13+
your own risk according to the law and the project license.
814

915
It contains:
10-
* initial DLL to be injected which is written in C,
11-
* server-side DLL that can exchange data between injected DLL (server) and Python process (client),
12-
* managed DLL which is able to get text properties of WPF applications,
13-
* DLL which is able to get text properties of Qt applications,
14-
* Python code to initiate the injection process,
15-
* and client Python code for data exchange with an injected DLL.
16+
17+
* initial DLL to be injected which is written in C,
18+
* server-side DLL that can exchange data between injected DLL (server) and
19+
Python process (client),
20+
* managed DLL which is able to get text properties of WPF applications,
21+
* DLL which is able to get text properties of Qt applications,
22+
* Python code to initiate the injection process,
23+
* and client Python code for data exchange with an injected DLL.
1624

1725
Link to PyPi: <https://pypi.org/project/injected/>
1826

@@ -32,20 +40,21 @@ Link to PyPi: <https://pypi.org/project/injected/>
3240

3341
### For use as package
3442

35-
* Python >= 3.7
36-
* pywin32 >= 306
43+
* Python >= 3.7
44+
* pywin32 >= 306
3745

3846
### For development purpose
3947

40-
* setuptools >= 65.5.1
41-
* wheel >= 0.38.4
42-
* .NET Framework Targeting Pack >= 4.8
43-
* .NET Compiler Platform
44-
* MSBuild
45-
* MSVC >= 143
46-
* cmake >= 3.26.3
48+
* setuptools >= 65.5.1
49+
* wheel >= 0.38.4
50+
* .NET Framework Targeting Pack >= 4.8
51+
* .NET Compiler Platform
52+
* MSBuild
53+
* MSVC >= 143
54+
* cmake >= 3.26.3
4755

48-
**NOTE**: You may use PyCharm + Visual Studio with C++/C# components for development
56+
**NOTE**: You may use PyCharm + Visual Studio with C++/C# components for
57+
development
4958

5059
## License
5160

src/injected/sysinfo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import os
44
import platform
55
import ctypes
6-
import logging
76
import win32process
87
import win32api
98
import win32con

0 commit comments

Comments
 (0)