Remove obsolete LOG section from profiles

This commit is contained in:
elicn
2022-07-26 23:35:13 +03:00
committed by Eli
parent 3d7164d974
commit a0c22ce194
12 changed files with 9 additions and 75 deletions
-8
View File
@@ -4,13 +4,5 @@ entry_point = 0x80800000
heap_size = 0x300000
[LOG]
# log directory output
# usage: dir = qlog
dir =
# split log file, use with multithread
split = False
[MISC]
current_path = /
-7
View File
@@ -1,10 +1,3 @@
[LOG]
# log directory output
# usage: dir = qlog
dir =
# split log file, use with multithread
split = False
[KERNEL]
version = 7
ticks_per_second = 18.206
-8
View File
@@ -17,14 +17,6 @@ gid = 1000
pid = 1996
[LOG]
# log directory output
# usage: dir = qlog
dir =
# split log file, use with multithread
split = False
[MISC]
current_path = /
-8
View File
@@ -27,14 +27,6 @@ gid = 1000
pid = 1996
[LOG]
# log directory output
# usage: dir = qlog
dir =
# split log file, use with multithread
split = False
[MISC]
current_path = /
-8
View File
@@ -24,14 +24,6 @@ gid = 1000
pid = 1996
[LOG]
# log directory output
# usage: dir = qlog
dir =
# split log file, use with multithread
split = False
[MISC]
current_path = /
+2 -8
View File
@@ -15,23 +15,17 @@ cpupage_address = 0xfc4048d8
cpupage_tls_address = 0xfc405000
tls_data_address = 0xfc406000
[KERNEL]
uid = 1000
gid = 1000
pid = 1996
[LOG]
# log directory output
# usage: dir = qlog
dir =
# split log file, use with multithread
split = False
[MISC]
current_path = /
[NETWORK]
# To use IPv6 or not, to avoid binary double bind. ipv6 and ipv4 bind the same port at the same time
bindtolocalhost = True
-7
View File
@@ -30,13 +30,6 @@ pid = 1996
parent_pid = 0
shell_pid = 10
[LOG]
# log directory output
# usage: dir = qlog
dir =
# split log file, use with multithread
split = False
[MISC]
current_path = C:\
-2
View File
@@ -1,2 +0,0 @@
[LOG]
dir = log_test
-8
View File
@@ -4,13 +4,5 @@ entry_point = 0x80800000
heap_size = 0x300000
[LOG]
# log directory output
# usage: dir = qlog
dir =
# split log file, use with multithread
split = False
[MISC]
current_path = /
+2 -2
View File
@@ -356,7 +356,7 @@ class ELFTest(unittest.TestCase):
all_mem = ql.mem.save()
ql.mem.restore(all_mem)
ql = Qiling(["../examples/rootfs/arm_linux/bin/arm_hello"], "../examples/rootfs/arm_linux", verbose=QL_VERBOSE.DEBUG, profile='profiles/append_test.ql')
ql = Qiling(["../examples/rootfs/arm_linux/bin/arm_hello"], "../examples/rootfs/arm_linux", verbose=QL_VERBOSE.DEBUG)
ql.os.set_api('puts', my_puts)
ql.run()
del ql
@@ -1077,7 +1077,7 @@ class ELFTest(unittest.TestCase):
del ql
def test_elf_linux_armeb(self):
ql = Qiling(["../examples/rootfs/armeb_linux/bin/armeb_hello"], "../examples/rootfs/armeb_linux", verbose=QL_VERBOSE.DEBUG, profile='profiles/append_test.ql')
ql = Qiling(["../examples/rootfs/armeb_linux/bin/armeb_hello"], "../examples/rootfs/armeb_linux", verbose=QL_VERBOSE.DEBUG)
ql.run()
del ql
+1 -1
View File
@@ -100,7 +100,7 @@ class ELFTest(unittest.TestCase):
except:
pass
buf_out = None
ql = Qiling(["../examples/rootfs/x8664_linux/bin/x8664_multithreading"], "../examples/rootfs/x8664_linux", multithread=True, profile= "profiles/append_test.ql")
ql = Qiling(["../examples/rootfs/x8664_linux/bin/x8664_multithreading"], "../examples/rootfs/x8664_linux", multithread=True)
ql.os.set_syscall("write", check_write, QL_INTERCEPT.ENTER)
ql.run()
+4 -8
View File
@@ -68,8 +68,7 @@ class PETest(unittest.TestCase):
def test_pe_win_x8664_hello(self):
def _t():
ql = Qiling(["../examples/rootfs/x8664_windows/bin/x8664_hello.exe"], "../examples/rootfs/x8664_windows",
verbose=QL_VERBOSE.DEFAULT)
ql = Qiling(["../examples/rootfs/x8664_windows/bin/x8664_hello.exe"], "../examples/rootfs/x8664_windows")
ql.run()
del ql
return True
@@ -79,8 +78,7 @@ class PETest(unittest.TestCase):
def test_pe_win_x86_hello(self):
def _t():
ql = Qiling(["../examples/rootfs/x86_windows/bin/x86_hello.exe"], "../examples/rootfs/x86_windows",
verbose=QL_VERBOSE.DEFAULT, profile="profiles/append_test.ql")
ql = Qiling(["../examples/rootfs/x86_windows/bin/x86_hello.exe"], "../examples/rootfs/x86_windows")
ql.run()
del ql
return True
@@ -90,8 +88,7 @@ class PETest(unittest.TestCase):
def test_pe_win_x8664_file_upx(self):
def _t():
ql = Qiling(["../examples/rootfs/x8664_windows/bin/x8664_file_upx.exe"], "../examples/rootfs/x8664_windows",
verbose=QL_VERBOSE.DEFAULT)
ql = Qiling(["../examples/rootfs/x8664_windows/bin/x8664_file_upx.exe"], "../examples/rootfs/x8664_windows")
ql.run()
del ql
return True
@@ -101,8 +98,7 @@ class PETest(unittest.TestCase):
def test_pe_win_x86_file_upx(self):
def _t():
ql = Qiling(["../examples/rootfs/x86_windows/bin/x86_file_upx.exe"], "../examples/rootfs/x86_windows",
verbose=QL_VERBOSE.DEFAULT)
ql = Qiling(["../examples/rootfs/x86_windows/bin/x86_file_upx.exe"], "../examples/rootfs/x86_windows")
ql.run()
del ql
return True