-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: (WIP) changing to use DynamoRIO code coverage info for init cod…
…e removal - See issue #13 for more detail - Improving the documentation - Update Lighttpd compilation and running script. - Add Lighttpd bin files
- Loading branch information
Showing
51 changed files
with
1,652 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,3 +62,4 @@ tags | |
.history/ | ||
.vscode/ | ||
.gdb_history | ||
peda-session-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# Remove initialization code for server applications | ||
# Remove initialization code for server applications | ||
|
||
## Lighttpd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Remove initialization code of Lighttpd | ||
## Build Lighttpd from source | ||
Under `DynaCut` root directory: | ||
``` | ||
❯ cd tests/lighttpd | ||
❯ ./build_lighttpd.sh | ||
``` | ||
Run Lighttpd server: | ||
``` | ||
❯ ./run_lighttpd.sh | ||
## | ||
## Basic lighttpd configuration. | ||
... ... | ||
2022-03-18 17:29:54: server.c.1513) server started (lighttpd/1.4.59) | ||
``` | ||
|
||
## Lighttpd initialization code profiling | ||
|
||
``` | ||
❯ ../../tools/scripts/tracediff.py -u drcov.lighttpd.488622.0000.proc.log -b drcov.lighttpd.488622.0001.proc.log | grep "\[ 5\]:" | awk '{print substr($4, 1, length($4)-1)}' > lighttpd-init.log.0 | ||
``` | ||
|
||
|
||
``` | ||
❯ ./criu/crit/crit x lighttpd.img mems | ||
489967 | ||
exe /home/xiaoguang/works/proc-edit/DynaCut/tests/lighttpd/lighttpd-1.4.59/src/lighttpd | ||
5607c229a000-5607c22a6000 r-- /home/xiaoguang/works/proc-edit/DynaCut/tests/lighttpd/lighttpd-1.4.59/src/lighttpd | ||
5607c22a6000-5607c22fa000 r-x /home/xiaoguang/works/proc-edit/DynaCut/tests/lighttpd/lighttpd-1.4.59/src/lighttpd + 0xc000 | ||
... ... | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# mod_access.la - a libtool library file | ||
# Generated by libtool (GNU libtool) 2.4.6 | ||
# | ||
# Please DO NOT delete this file! | ||
# It is necessary for linking the library. | ||
|
||
# The name that we can dlopen(3). | ||
dlname='mod_access.so' | ||
|
||
# Names of this library. | ||
library_names='mod_access.so mod_access.so mod_access.so' | ||
|
||
# The name of the static archive. | ||
old_library='' | ||
|
||
# Linker flags that cannot go in dependency_libs. | ||
inherited_linker_flags='' | ||
|
||
# Libraries that this one depends upon. | ||
dependency_libs='' | ||
|
||
# Names of additional weak libraries provided by this library | ||
weak_library_names='' | ||
|
||
# Version information for mod_access. | ||
current=0 | ||
age=0 | ||
revision=0 | ||
|
||
# Is this an already installed library? | ||
installed=yes | ||
|
||
# Should we warn about portability when linking against -modules? | ||
shouldnotlink=yes | ||
|
||
# Files to dlopen/dlpreopen | ||
dlopen='' | ||
dlpreopen='' | ||
|
||
# Directory that this library needs to be installed in: | ||
libdir='/usr/local/lib' |
Oops, something went wrong.