Skip to content

Commit 4d229f1

Browse files
committed
fix whitespaces
1 parent 8aec76c commit 4d229f1

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

examples/fuzzing/qnx_arm/fuzz_arm_qnx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ def start_afl(_ql: Qiling):
9696
# TODO: Chose a better hook position :)
9797
if ex != unicornafl.UC_AFL_RET_CALLED_TWICE:
9898
raise
99-
99+
100100
LIBC_BASE = int(ql.profile.get("OS32", "interp_address"), 16)
101-
101+
102102
# crash in case we reach SignalKill
103103
ql.hook_address(callback=lambda x: os.abort(), address=LIBC_BASE + 0x456d4)
104104

examples/hello_arm_qnx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
#
2+
#
33
# Cross Platform and Multi Architecture Advanced Binary Emulation Framework
44
#
55

examples/src/qnx/hello.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ int main(int argc, char** argv, char** envp)
1414

1515
printf("Hello, Qiling! argc=%d\n", argc);
1616
for (i = 0; i < argc; i++) {
17-
printf("argv[%d] = '%s'\n", i, argv[i]);
17+
printf("argv[%d] = '%s'\n", i, argv[i]);
1818
}
1919

2020
for (i = 0; envp[i] != NULL; i++) {
21-
printf("env[%d] = '%s'\n", i, envp[i]);
21+
printf("env[%d] = '%s'\n", i, envp[i]);
2222
}
2323
return 0;
2424
}

qiling/os/qnx/const.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env python3
2-
#
2+
#
33
# Cross Platform and Multi Architecture Advanced Binary Emulation Framework
44
#
55

66
# Source: openqnx lib/c/public/pthread.h
77

88
# Mutexes
9-
NTO_SYNC_NONRECURSIVE = 0x80000000
9+
NTO_SYNC_NONRECURSIVE = 0x80000000
1010
NTO_SYNC_NOERRORCHECK = 0x40000000
1111
NTO_SYNC_PRIOCEILING = 0x20000000
1212
NTO_SYNC_PRIONONE = 0x10000000

qiling/os/qnx/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
#
2+
#
33
# Cross Platform and Multi Architecture Advanced Binary Emulation Framework
44
#
55
from ctypes import c_int32

0 commit comments

Comments
 (0)