Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
fishypack-trident
Commits
0a41877c
Commit
0a41877c
authored
Apr 05, 2018
by
blackle
Browse files
Further minification
parent
efce21bb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
0a41877c
...
...
@@ -8,10 +8,10 @@ main:
make
-C
main main.xz
packer
:
make
-C
packer header
make
-C
packer header
-32
cenotaph
:
main packer Makefile
cat
./packer/header ./main/main.xz
>
cenotaph
cat
./packer/header
-32
./main/main.xz
>
cenotaph
chmod
+x cenotaph
wc
-c
cenotaph
...
...
cenotaph
View file @
0a41877c
No preview for this file type
packer/header-32.asm
View file @
0a41877c
...
...
@@ -27,7 +27,9 @@ e_type:
e_machine:
dw
3
e_version:
dd
1
xor
ebx
,
ebx
jmp
p_flags
; dd 1
e_entry:
dd
e_padding
e_phoff:
...
...
@@ -75,17 +77,18 @@ p_paddr:
jz
_child
; dd $$
p_filesz:
jmp
_parent
jmp
e_version
dw
0
; dd filesize
p_memsz:
jmp
_parent
+
4
jmp
e_version
+
4
dw
0
; dd filesize
p_flags:
dd
5
mov
ax
,
sys_waitid
p_align:
dd
0x1000
jmp
_parent
dw
0
phdrsize
equ
$
-
phdr
...
...
@@ -107,8 +110,8 @@ _start:
_parent:
xor
ebx
,
ebx
mov
ax
,
sys_waitid
;
xor ebx, ebx
;
mov ax, sys_waitid
mov
si
,
4
int
0x80
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment