File tree Expand file tree Collapse file tree 4 files changed +14
-8
lines changed
Filter options
Expand file tree Collapse file tree 4 files changed +14
-8
lines changed
Original file line number Diff line number Diff line change 4
4
dangerous-triggers :
5
5
ignore :
6
6
- documentation-links.yml
7
+ unpinned-uses :
8
+ config :
9
+ policies :
10
+ " * " : ref-pin
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/astral-sh/ruff-pre-commit
3
- rev : v0.11.4
3
+ rev : v0.11.6
4
4
hooks :
5
5
- id : ruff
6
6
name : Run Ruff (lint) on Doc/
24
24
files : ^Doc/
25
25
26
26
- repo : https://github.com/psf/black-pre-commit-mirror
27
- rev : 24.10 .0
27
+ rev : 25.1 .0
28
28
hooks :
29
29
- id : black
30
30
name : Run Black on Tools/build/check_warnings.py
49
49
types_or : [c, inc, python, rst]
50
50
51
51
- repo : https://github.com/python-jsonschema/check-jsonschema
52
- rev : 0.31 .0
52
+ rev : 0.33 .0
53
53
hooks :
54
54
- id : check-dependabot
55
55
- id : check-github-workflows
61
61
- id : actionlint
62
62
63
63
- repo : https://github.com/woodruffw/zizmor-pre-commit
64
- rev : v1.1.1
64
+ rev : v1.6.0
65
65
hooks :
66
66
- id : zizmor
67
67
Original file line number Diff line number Diff line change @@ -238,17 +238,19 @@ def remove_jump(self) -> None:
238
238
addend = - 4 ,
239
239
) as hole :
240
240
# jmp qword ptr [rip]
241
- jump = b"\x48 \xFF \x25 \x00 \x00 \x00 \x00 "
241
+ jump = b"\x48 \xff \x25 \x00 \x00 \x00 \x00 "
242
242
offset -= 3
243
243
case Hole (
244
244
offset = offset ,
245
245
kind = "IMAGE_REL_I386_REL32" | "R_X86_64_PLT32" | "X86_64_RELOC_BRANCH" ,
246
246
value = HoleValue .CONTINUE ,
247
247
symbol = None ,
248
248
addend = addend ,
249
- ) as hole if _signed (addend ) == - 4 :
249
+ ) as hole if (
250
+ _signed (addend ) == - 4
251
+ ):
250
252
# jmp 5
251
- jump = b"\xE9 \x00 \x00 \x00 \x00 "
253
+ jump = b"\xe9 \x00 \x00 \x00 \x00 "
252
254
offset -= 1
253
255
case Hole (
254
256
offset = offset ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class _Target(typing.Generic[_S, _R]):
46
46
47
47
def _get_nop (self ) -> bytes :
48
48
if re .fullmatch (r"aarch64-.*" , self .triple ):
49
- nop = b"\x1f \x20 \x03 \xD5 "
49
+ nop = b"\x1f \x20 \x03 \xd5 "
50
50
elif re .fullmatch (r"x86_64-.*|i686.*" , self .triple ):
51
51
nop = b"\x90 "
52
52
else :
You can’t perform that action at this time.
0 commit comments