Skip to main content
added 67 characters in body
Source Link

NasmNASM, 3 characters.

any of the following:

ret
nop
cbw
cwd
cdq
clc
cld
cli
cmc
aaa
aas
aad
aam
stc
std
sti

ret raises SIGSEGV viacauses stack underflow. Allcli and sti trigger SIGSEGV because they are privileged instructions. All the other opcodes raisetrigger a SIGSEGV simply because there's no exit point.

Nasm, 3 characters.

any of the following:

ret
nop
cbw
cwd
cdq
clc
cld
cli
cmc
aaa
aas
aad
aam
stc
std
sti

ret raises SIGSEGV via stack underflow. All the other opcodes raise SIGSEGV simply because there's no exit point.

NASM, 3 characters.

any of the following:

ret
nop
cbw
cwd
cdq
clc
cld
cli
cmc
aaa
aas
aad
aam
stc
std
sti

ret causes stack underflow. cli and sti trigger SIGSEGV because they are privileged instructions. All the other opcodes trigger a SIGSEGV simply because there's no exit point.

deleted 2 characters in body
Source Link

Nasm, 3 characters.

any of the following:

ret
nop
cbw
cwd
cdq
clc
cld
cli
cmc
aaa
aas
aad
aam
stc
std
sti

ret raises SIGSEGV via stack underflowstack underflow. All the other opcodes raise SIGSEGV simply because there's no exit point.

Nasm, 3 characters.

any of the following:

ret
nop
cbw
cwd
cdq
clc
cld
cli
cmc
aaa
aas
aad
aam
stc
std
sti

ret raises SIGSEGV via stack underflow. All the other opcodes raise SIGSEGV simply because there's no exit point.

Nasm, 3 characters.

any of the following:

ret
nop
cbw
cwd
cdq
clc
cld
cli
cmc
aaa
aas
aad
aam
stc
std
sti

ret raises SIGSEGV via stack underflow. All the other opcodes raise SIGSEGV simply because there's no exit point.

added 85 characters in body
Source Link

Nasm, 3 bytescharacters.

Eitherany of the following:

ret

or

nop
cbw
cwd
cdq
clc
cld
cli
cmc
aaa
aas
aad
aam
stc
std
sti

ret raises SIGSEGV via stack underflow, and nop raises. All the other opcodes raise SIGSEGV simply because there's no exit point.

Nasm, 3 bytes.

Either

ret

or

nop

ret raises SIGSEGV via stack underflow, and nop raises SIGSEGV simply because there's no exit point.

Nasm, 3 characters.

any of the following:

ret
nop
cbw
cwd
cdq
clc
cld
cli
cmc
aaa
aas
aad
aam
stc
std
sti

ret raises SIGSEGV via stack underflow. All the other opcodes raise SIGSEGV simply because there's no exit point.

added 2 characters in body
Source Link
Loading
Source Link
Loading