mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
Remove obsolete LOG section from profiles
This commit is contained in:
@@ -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 = /
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 = /
|
||||
|
||||
|
||||
@@ -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 = /
|
||||
|
||||
|
||||
@@ -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 = /
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:\
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
[LOG]
|
||||
dir = log_test
|
||||
@@ -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
@@ -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
|
||||
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user