Skip to content

Commit 442fede

Browse files
committed
Auto-generated files
1 parent 138188e commit 442fede

File tree

403 files changed

+807
-807
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

403 files changed

+807
-807
lines changed

pwnlib/shellcraft/templates/common/linux/syscalls/_llseek.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Returns:
3939

4040
for name, arg in zip(argument_names, argument_values):
4141
if arg is not None:
42-
syscall_repr.append('%s=%r' % (name, arg))
42+
syscall_repr.append('%s=%s' % (name, pwnlib.shellcraft.pretty(arg, False)))
4343

4444
# If the argument itself (input) is a register...
4545
if arg in allregs:
@@ -98,4 +98,4 @@ Returns:
9898
${pwnlib.shellcraft.push(arg)}
9999
%endfor
100100
${pwnlib.shellcraft.setregs(register_arguments)}
101-
${pwnlib.shellcraft.syscall(syscall)}
101+
${pwnlib.shellcraft.syscall(syscall)}

pwnlib/shellcraft/templates/common/linux/syscalls/_newselect.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Returns:
3939

4040
for name, arg in zip(argument_names, argument_values):
4141
if arg is not None:
42-
syscall_repr.append('%s=%r' % (name, arg))
42+
syscall_repr.append('%s=%s' % (name, pwnlib.shellcraft.pretty(arg, False)))
4343

4444
# If the argument itself (input) is a register...
4545
if arg in allregs:
@@ -98,4 +98,4 @@ Returns:
9898
${pwnlib.shellcraft.push(arg)}
9999
%endfor
100100
${pwnlib.shellcraft.setregs(register_arguments)}
101-
${pwnlib.shellcraft.syscall(syscall)}
101+
${pwnlib.shellcraft.syscall(syscall)}

pwnlib/shellcraft/templates/common/linux/syscalls/_sysctl.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Returns:
3939

4040
for name, arg in zip(argument_names, argument_values):
4141
if arg is not None:
42-
syscall_repr.append('%s=%r' % (name, arg))
42+
syscall_repr.append('%s=%s' % (name, pwnlib.shellcraft.pretty(arg, False)))
4343

4444
# If the argument itself (input) is a register...
4545
if arg in allregs:
@@ -98,4 +98,4 @@ Returns:
9898
${pwnlib.shellcraft.push(arg)}
9999
%endfor
100100
${pwnlib.shellcraft.setregs(register_arguments)}
101-
${pwnlib.shellcraft.syscall(syscall)}
101+
${pwnlib.shellcraft.syscall(syscall)}

pwnlib/shellcraft/templates/common/linux/syscalls/accept.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Returns:
4141

4242
for name, arg in zip(argument_names, argument_values):
4343
if arg is not None:
44-
syscall_repr.append('%s=%r' % (name, arg))
44+
syscall_repr.append('%s=%s' % (name, pwnlib.shellcraft.pretty(arg, False)))
4545

4646
# If the argument itself (input) is a register...
4747
if arg in allregs:
@@ -100,4 +100,4 @@ Returns:
100100
${pwnlib.shellcraft.push(arg)}
101101
%endfor
102102
${pwnlib.shellcraft.setregs(register_arguments)}
103-
${pwnlib.shellcraft.syscall(syscall)}
103+
${pwnlib.shellcraft.syscall(syscall)}

pwnlib/shellcraft/templates/common/linux/syscalls/accept4.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Returns:
4242

4343
for name, arg in zip(argument_names, argument_values):
4444
if arg is not None:
45-
syscall_repr.append('%s=%r' % (name, arg))
45+
syscall_repr.append('%s=%s' % (name, pwnlib.shellcraft.pretty(arg, False)))
4646

4747
# If the argument itself (input) is a register...
4848
if arg in allregs:
@@ -101,4 +101,4 @@ Returns:
101101
${pwnlib.shellcraft.push(arg)}
102102
%endfor
103103
${pwnlib.shellcraft.setregs(register_arguments)}
104-
${pwnlib.shellcraft.syscall(syscall)}
104+
${pwnlib.shellcraft.syscall(syscall)}

pwnlib/shellcraft/templates/common/linux/syscalls/access.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Returns:
4040

4141
for name, arg in zip(argument_names, argument_values):
4242
if arg is not None:
43-
syscall_repr.append('%s=%r' % (name, arg))
43+
syscall_repr.append('%s=%s' % (name, pwnlib.shellcraft.pretty(arg, False)))
4444

4545
# If the argument itself (input) is a register...
4646
if arg in allregs:
@@ -99,4 +99,4 @@ Returns:
9999
${pwnlib.shellcraft.push(arg)}
100100
%endfor
101101
${pwnlib.shellcraft.setregs(register_arguments)}
102-
${pwnlib.shellcraft.syscall(syscall)}
102+
${pwnlib.shellcraft.syscall(syscall)}

pwnlib/shellcraft/templates/common/linux/syscalls/acct.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Returns:
3939

4040
for name, arg in zip(argument_names, argument_values):
4141
if arg is not None:
42-
syscall_repr.append('%s=%r' % (name, arg))
42+
syscall_repr.append('%s=%s' % (name, pwnlib.shellcraft.pretty(arg, False)))
4343

4444
# If the argument itself (input) is a register...
4545
if arg in allregs:
@@ -98,4 +98,4 @@ Returns:
9898
${pwnlib.shellcraft.push(arg)}
9999
%endfor
100100
${pwnlib.shellcraft.setregs(register_arguments)}
101-
${pwnlib.shellcraft.syscall(syscall)}
101+
${pwnlib.shellcraft.syscall(syscall)}

pwnlib/shellcraft/templates/common/linux/syscalls/add_key.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Returns:
4343

4444
for name, arg in zip(argument_names, argument_values):
4545
if arg is not None:
46-
syscall_repr.append('%s=%r' % (name, arg))
46+
syscall_repr.append('%s=%s' % (name, pwnlib.shellcraft.pretty(arg, False)))
4747

4848
# If the argument itself (input) is a register...
4949
if arg in allregs:
@@ -102,4 +102,4 @@ Returns:
102102
${pwnlib.shellcraft.push(arg)}
103103
%endfor
104104
${pwnlib.shellcraft.setregs(register_arguments)}
105-
${pwnlib.shellcraft.syscall(syscall)}
105+
${pwnlib.shellcraft.syscall(syscall)}

pwnlib/shellcraft/templates/common/linux/syscalls/adjtimex.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Returns:
3939

4040
for name, arg in zip(argument_names, argument_values):
4141
if arg is not None:
42-
syscall_repr.append('%s=%r' % (name, arg))
42+
syscall_repr.append('%s=%s' % (name, pwnlib.shellcraft.pretty(arg, False)))
4343

4444
# If the argument itself (input) is a register...
4545
if arg in allregs:
@@ -98,4 +98,4 @@ Returns:
9898
${pwnlib.shellcraft.push(arg)}
9999
%endfor
100100
${pwnlib.shellcraft.setregs(register_arguments)}
101-
${pwnlib.shellcraft.syscall(syscall)}
101+
${pwnlib.shellcraft.syscall(syscall)}

pwnlib/shellcraft/templates/common/linux/syscalls/afs_syscall.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Returns:
3939

4040
for name, arg in zip(argument_names, argument_values):
4141
if arg is not None:
42-
syscall_repr.append('%s=%r' % (name, arg))
42+
syscall_repr.append('%s=%s' % (name, pwnlib.shellcraft.pretty(arg, False)))
4343

4444
# If the argument itself (input) is a register...
4545
if arg in allregs:
@@ -98,4 +98,4 @@ Returns:
9898
${pwnlib.shellcraft.push(arg)}
9999
%endfor
100100
${pwnlib.shellcraft.setregs(register_arguments)}
101-
${pwnlib.shellcraft.syscall(syscall)}
101+
${pwnlib.shellcraft.syscall(syscall)}

0 commit comments

Comments
 (0)