Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
489 commits
Select commit Hold shift + click to select a range
87634b6
run test_blob.py
cq674350529 Nov 11, 2021
0bf1060
Add basic function for running
cla7aye15I4nd Nov 12, 2021
f601023
Update api name
cla7aye15I4nd Nov 12, 2021
615979e
removed some really bad options and keep core cleaner
xwings Nov 13, 2021
452f416
Merge pull request #1003 from xwings/dev
xwings Nov 13, 2021
b463010
Fix mmap logic on MAP_FIXED
bet4it Nov 2, 2021
81b39ea
Merge branch 'gd32' of https://github.com/cla7aye15I4nd/qiling into gd32
cla7aye15I4nd Nov 13, 2021
d4b1907
Simplify mcu loader code
cla7aye15I4nd Nov 13, 2021
b309c84
Delete self.path
cla7aye15I4nd Nov 13, 2021
5b98d7f
Add monitor to gd32gpio
cla7aye15I4nd Nov 13, 2021
c1c8553
Add monitor to gd32rcu
cla7aye15I4nd Nov 13, 2021
1b03683
Update the profile of gd32vf103
cla7aye15I4nd Nov 13, 2021
d1cb342
Fix the "peripheral" typo
cla7aye15I4nd Nov 13, 2021
1aecf6e
Fix the argument typo
cla7aye15I4nd Nov 13, 2021
a78ca6c
Add monitor to eclic
cla7aye15I4nd Nov 13, 2021
91eb5ee
Add gd32 gpio logic
cla7aye15I4nd Nov 13, 2021
9f1e3af
Add GD32 led test
cla7aye15I4nd Nov 13, 2021
d8abe25
Add GD32 hello world example
cla7aye15I4nd Nov 13, 2021
8eaa062
update and adapt the code
cq674350529 Nov 13, 2021
75257c1
use self.ql.stop() instead
cq674350529 Nov 13, 2021
a6f91e2
Update the warning output
cla7aye15I4nd Nov 13, 2021
005a776
Merge pull request #1004 from cq674350529/fix/gdb_fix
xwings Nov 13, 2021
166a7c4
Merge pull request #998 from cla7aye15I4nd/riscv
xwings Nov 13, 2021
c44dbae
Merge pull request #979 from bet4it/mmap
xwings Nov 13, 2021
9b3b1ca
Merge branch 'dev' into gd32
cla7aye15I4nd Nov 13, 2021
626b79d
change to blob
cq674350529 Nov 13, 2021
15fb466
add a simple uboot example
cq674350529 Nov 13, 2021
697abfb
fix typo in netgear example
xwings Nov 13, 2021
5d3e74e
Merge branch 'dev' of github.com:xwings/qiling into dev
xwings Nov 13, 2021
d68c750
Merge pull request #1000 from cq674350529/feat/add_blobloader
xwings Nov 13, 2021
a86099d
Merge branch 'dev' of github.com:xwings/qiling into dev
xwings Nov 13, 2021
6951f56
update changelog format
xwings Nov 13, 2021
748b6c6
Merge pull request #1005 from xwings/dev
xwings Nov 13, 2021
bf95975
Convert profile into env
cla7aye15I4nd Nov 13, 2021
4c67418
Fix the 'stm32f411_gpio_hook' example
cla7aye15I4nd Nov 13, 2021
2a3a472
Fix the stm32f407 example
cla7aye15I4nd Nov 13, 2021
75b6354
Fix stm32f411_dma_logger examples
cla7aye15I4nd Nov 13, 2021
f63968a
Fix stm32f411_freertos example
cla7aye15I4nd Nov 13, 2021
a0fff05
Fix stm32f411_interact_usart example
cla7aye15I4nd Nov 13, 2021
95a9ccb
Fix stm32f411_i2c_lcd example
cla7aye15I4nd Nov 13, 2021
161b200
Fix the gd32vf103_blink example
cla7aye15I4nd Nov 13, 2021
6d3b2d1
Replace profile with env in hw
cla7aye15I4nd Nov 13, 2021
92b0a3d
Add gd32vf103 env
cla7aye15I4nd Nov 13, 2021
dedb09d
Replace profile with env in mcu
cla7aye15I4nd Nov 13, 2021
0195e3d
Fix test_mcu
cla7aye15I4nd Nov 13, 2021
7271387
Delete outdate profiles
cla7aye15I4nd Nov 13, 2021
ec754f9
Add banner in char device files
cla7aye15I4nd Nov 13, 2021
a41c24b
Add banner in hw const files
cla7aye15I4nd Nov 13, 2021
09634ec
Add banner in hw.dma files
cla7aye15I4nd Nov 13, 2021
feedf7b
Add banner in __init__ files
cla7aye15I4nd Nov 13, 2021
f34ec0c
Add banner in hw.gpio files
cla7aye15I4nd Nov 13, 2021
ce895a9
Add banner in hw.i2c files
cla7aye15I4nd Nov 13, 2021
3887a71
Add banner in hw.intc files
cla7aye15I4nd Nov 13, 2021
90047f7
Add banner in hw.math files
cla7aye15I4nd Nov 13, 2021
aefb0a8
Add banner in hw.misc files
cla7aye15I4nd Nov 13, 2021
3f8cdc1
Add banner in hw.power files
cla7aye15I4nd Nov 13, 2021
86edea1
Add banner in hw.spi files
cla7aye15I4nd Nov 13, 2021
233e997
Add banner in hw.timer files
cla7aye15I4nd Nov 13, 2021
2b055ed
Add banner in hw.utils files
cla7aye15I4nd Nov 13, 2021
816bf96
Delete baremetal profile setup
cla7aye15I4nd Nov 13, 2021
ec285ac
load baremetal profile by yaml
cla7aye15I4nd Nov 14, 2021
56522c5
Cover env by profile
cla7aye15I4nd Nov 14, 2021
4d042f3
Test covered profile in MCU
cla7aye15I4nd Nov 14, 2021
da4624f
Add test profiles
cla7aye15I4nd Nov 14, 2021
5ff427f
Add yaml in requirement
cla7aye15I4nd Nov 14, 2021
d98f258
Merge branch 'dev' into gd32
cla7aye15I4nd Nov 14, 2021
b68b8da
Avoid the capstone error
cla7aye15I4nd Nov 14, 2021
9159698
Cut 'env' suffix
cla7aye15I4nd Nov 14, 2021
baf04bc
Fix the examples
cla7aye15I4nd Nov 14, 2021
f8db1fe
Cut env suffix
cla7aye15I4nd Nov 14, 2021
b543f0d
Fix the mcu test
cla7aye15I4nd Nov 14, 2021
14b95eb
Fix examples (soc -> mcu)
cla7aye15I4nd Nov 14, 2021
2e87790
Fix ext (soc -> mcu)
cla7aye15I4nd Nov 14, 2021
88fb939
Fix mcu test (soc -> mcu)
cla7aye15I4nd Nov 14, 2021
927bc73
Merge pull request #1008 from cla7aye15I4nd/gd32
xwings Nov 15, 2021
c08c223
Update README.md
xwings Nov 15, 2021
66b9baf
Update README.md
xwings Nov 15, 2021
978299a
Update README.md
xwings Nov 15, 2021
31c79b0
new stepping algorithm for qdb
ucgJhe Nov 15, 2021
1f5e113
revise command do_start
ucgJhe Nov 15, 2021
49b9f3f
qdb: partial mcu supported
ucgJhe Nov 15, 2021
8a29cbe
qdb: support breakpoint in mcu
ucgJhe Nov 16, 2021
0bf2c17
fix breakpoint in mcu
ucgJhe Nov 16, 2021
93bb984
fix breakpoint strategy in mcu and add parse_int function decorator
ucgJhe Nov 16, 2021
778b979
print context if still running when debugging mcu
ucgJhe Nov 16, 2021
7b476ae
Merge pull request #2 from qilingframework/dev
kabeor Nov 16, 2021
1605637
update evm examples
kabeor Nov 16, 2021
f1e47da
qdb: fix TempBreakpoint when working with mcu
ucgJhe Nov 16, 2021
e14238f
Merge pull request #1009 from kabeor/fix-evm
kabeor Nov 16, 2021
186c2e2
Merge remote-tracking branch 'qiling.io/dev' into qdb
ucgJhe Nov 16, 2021
b42850c
Merge pull request #1011 from ucgJhe/qdb
xwings Nov 16, 2021
69a160c
Update annotations and comments
elicn Nov 17, 2021
13e3132
Reverse logic for better readability
elicn Nov 17, 2021
d2c1543
Simplify and enhance map_mmio
elicn Nov 17, 2021
921eac8
Rephrase debug messages for readbaility
elicn Nov 17, 2021
bfe7053
Avoid searching in mmio ranges
elicn Nov 17, 2021
4140322
Make pagesize controlable for future usages
elicn Nov 17, 2021
810e864
cc can now reserve args slots
elicn Nov 18, 2021
82e1ed1
cc can now set return address
elicn Nov 18, 2021
db677d1
implement setReturnAddress for Intel
elicn Nov 18, 2021
92b00aa
implement setReturnAddress for ARM
elicn Nov 18, 2021
fc79edd
Let fcall stage and call native functions
elicn Nov 18, 2021
67816e2
Merge pull request #1012 from elicn/improv-memory
xwings Nov 19, 2021
7519f21
Update ChangeLog
xwings Nov 19, 2021
dcc64f7
Merge pull request #1013 from elicn/call_native
xwings Nov 19, 2021
965b29a
Update ChangeLog
xwings Nov 19, 2021
dc206b6
handle the case with no level
cq674350529 Nov 19, 2021
5eddaa2
Merge pull request #1014 from cq674350529/fix/hook_printk
xwings Nov 20, 2021
316868c
fix context_asm for arm and handl Ctrl+D in qdb
ucgJhe Nov 22, 2021
257b0d9
Merge pull request #1016 from ucgJhe/dev
xwings Nov 23, 2021
316eef7
added some more core info
xwings Nov 23, 2021
b6e9f8a
add more error output
xwings Nov 23, 2021
e7f2c4a
Merge pull request #1017 from xwings/dev
xwings Nov 23, 2021
e8d056b
add more test for M1 Mac
xwings Nov 23, 2021
784596f
Merge branch 'qilingframework:dev' into dev
xwings Nov 23, 2021
a256e26
Merge pull request #1019 from xwings/dev
xwings Nov 23, 2021
039f460
Work around uc2 / cs4 incompatibility
elicn Nov 23, 2021
6c14df3
Use deque to implement tracing tail
elicn Nov 23, 2021
224f290
Typing annotations
elicn Nov 23, 2021
f8f1fa4
Misc. styling changes
elicn Nov 23, 2021
e603e8a
Move logging output to a more appropriate place
elicn Nov 23, 2021
cb687b0
Align HookAddr callback style to Hook due to unused params
elicn Nov 23, 2021
c37ec0c
Replace handlers dicts with tuples for a faster iteration
elicn Nov 23, 2021
e5e900d
Fix error messages
elicn Nov 23, 2021
e5a4f4c
add arm udp test
xwings Nov 24, 2021
edd7a12
add debug msg for enter syscall state
xwings Nov 24, 2021
662a2f6
add more test into m1 and display enter syscall state
xwings Nov 24, 2021
5064115
Merge pull request #1020 from elicn/trace-uc2-wa
xwings Nov 24, 2021
82310c7
Merge branch 'qilingframework:dev' into dev
xwings Nov 24, 2021
4574ec6
Merge pull request #1022 from xwings/dev
xwings Nov 24, 2021
3c76f02
update tenda example
xwings Nov 24, 2021
d734933
Merge branch 'dev' of github.com:xwings/qiling into dev
xwings Nov 24, 2021
ea29d3c
Update tendaac1518_httpd.py
xwings Nov 24, 2021
60f0bbd
remove ghostly debug printout
xwings Nov 24, 2021
5b76eb7
Merge branch 'dev' of github.com:xwings/qiling into dev
xwings Nov 24, 2021
553e19b
remove ghostly debug printout, and cleanup
xwings Nov 24, 2021
e876aef
Update tendaac1518_httpd.py
xwings Nov 24, 2021
7b02a6c
Merge pull request #1024 from xwings/dev
kabeor Nov 25, 2021
ed0fc81
Merge pull request #1021 from elicn/core-hooks-tweaks
xwings Nov 25, 2021
ec456db
Fix a mcu elf loader bug
cla7aye15I4nd Nov 25, 2021
1e89e14
Change peripheral monitor log level
cla7aye15I4nd Nov 25, 2021
8003f6c
Change peripheral decorator name
cla7aye15I4nd Nov 25, 2021
5f738c8
Enable monitor in default
cla7aye15I4nd Nov 25, 2021
8abc8cb
Add access recorder
cla7aye15I4nd Nov 25, 2021
f509bba
Add peripheral recorder
cla7aye15I4nd Nov 25, 2021
1162e26
Add recorder for i2c
cla7aye15I4nd Nov 25, 2021
34958ed
Pass the i2c interrupt case
cla7aye15I4nd Nov 25, 2021
d3f28a7
Add I2C Interrupt testcase
cla7aye15I4nd Nov 25, 2021
803cc38
Add I2C Interrupt into examples
cla7aye15I4nd Nov 25, 2021
24d8f36
Add header for mcu examples
cla7aye15I4nd Nov 25, 2021
fe2726a
add very simple httpd server
xwings Nov 26, 2021
02c993c
add www for testing
xwings Nov 26, 2021
37f262b
Merge pull request #1025 from xwings/dev
xwings Nov 26, 2021
2541375
add httpd test
xwings Nov 26, 2021
cca1d1d
Merge branch 'dev' of github.com:xwings/qiling into dev
xwings Nov 26, 2021
0f3d87e
update fcntl
xwings Nov 26, 2021
58275c0
adding more test for ci
xwings Nov 26, 2021
4749358
Merge branch 'qilingframework:dev' into dev
xwings Nov 26, 2021
6994cbb
get ready for http test
xwings Nov 26, 2021
61ec606
get ready for http test, fix bin
xwings Nov 26, 2021
7cb3f41
Merge branch 'dev' of github.com:xwings/qiling into dev
xwings Nov 26, 2021
9f4e61f
add pico httpd credits
xwings Nov 26, 2021
cd3fe76
update make file for arm
xwings Nov 26, 2021
b0fd321
update make file for arm
xwings Nov 26, 2021
d093bb5
add httpd test
xwings Nov 26, 2021
4f10394
Format the RCC rdyon code
cla7aye15I4nd Nov 26, 2021
5368345
Add flash interface in config
cla7aye15I4nd Nov 26, 2021
d5dee1f
Add flash interface struct
cla7aye15I4nd Nov 26, 2021
c9de30c
Add basic TIM struct
cla7aye15I4nd Nov 26, 2021
852475b
Merge branch 'dev' into stm32f4
cla7aye15I4nd Nov 26, 2021
00cf83f
Update latest rootfs
cla7aye15I4nd Nov 26, 2021
4ac1d5c
Rename gd32 const files
cla7aye15I4nd Nov 26, 2021
579a5d9
Add Timer const file
cla7aye15I4nd Nov 26, 2021
d341557
arm httpd test
xwings Nov 26, 2021
4334b31
Merge pull request #1027 from xwings/dev
xwings Nov 26, 2021
4efac22
Add abstract timer class
cla7aye15I4nd Nov 26, 2021
5bbf584
Use timer base class in systick
cla7aye15I4nd Nov 26, 2021
e43f7cb
Add update interrupt and count down in TIM1
cla7aye15I4nd Nov 26, 2021
5c0610d
add vshttpd.c
xwings Nov 26, 2021
4859ef1
Fix reset bug
cla7aye15I4nd Nov 26, 2021
4a7baa5
Add STM32 TIM test
cla7aye15I4nd Nov 26, 2021
55c3136
Merge branch 'dev' into stm32f4
cla7aye15I4nd Nov 26, 2021
c5e68f7
Patch flash and pwr read and write
cla7aye15I4nd Nov 27, 2021
5b3dc7e
Throw warning in default
cla7aye15I4nd Nov 28, 2021
b92729e
Revert the freertos test
cla7aye15I4nd Nov 28, 2021
4642d88
Use real prot when map addr
bet4it Nov 24, 2021
731761b
Hack IDAPython to allow us to refer to ql object
wtdcode Dec 1, 2021
c628a95
Use __getattr__ instead of __getattribute__
wtdcode Dec 1, 2021
a6eae7f
Merge pull request #1030 from qilingframework/ida_plugin_enhance
xwings Dec 2, 2021
2d186f6
Merge pull request #1028 from cla7aye15I4nd/stm32f4
xwings Dec 2, 2021
3e72fb8
Bump to rc5
xwings Dec 5, 2021
78918cb
Fix lcd class name
cla7aye15I4nd Dec 6, 2021
8841f75
Add OLED folder
cla7aye15I4nd Dec 7, 2021
a284b75
Add SSD1306 (OLED12864) render
cla7aye15I4nd Dec 7, 2021
6337caa
Delete the debug print
cla7aye15I4nd Dec 7, 2021
6a917ff
Add spi oled examples
cla7aye15I4nd Dec 7, 2021
0799734
Merge branch 'dev' into stm32f4
cla7aye15I4nd Dec 7, 2021
35f0e71
Update rootfs
cla7aye15I4nd Dec 7, 2021
349b45d
Merge pull request #1029 from bet4it/prot
wtdcode Dec 7, 2021
b34d6b7
Merge pull request #1034 from cla7aye15I4nd/stm32f4
xwings Dec 8, 2021
84c3170
Simplify alloc
elicn Dec 8, 2021
1766547
Use default memory alignment
elicn Dec 8, 2021
1d3a0ad
Improve documentation
elicn Dec 8, 2021
ad792ba
Cleanup
elicn Dec 8, 2021
4cc5a4b
Use mem pagesize instead of heap's
elicn Dec 8, 2021
5adb956
rootfs update
xwings Dec 9, 2021
2a3a96b
git push origin devMerge branch 'qilingframework-dev' into dev
xwings Dec 9, 2021
f3038d4
Merge pull request #1035 from elicn/memheap
xwings Dec 9, 2021
ffbd1c3
Merge branch 'qilingframework:dev' into dev
xwings Dec 9, 2021
7dae9f4
Delete a dup typo of DAC
cla7aye15I4nd Dec 11, 2021
7a2b5ba
Add 'Flash Interface' into stm32f4 config
cla7aye15I4nd Dec 11, 2021
2892ef3
Merge branch 'dev' into stm32f4
cla7aye15I4nd Dec 12, 2021
44d4c35
elong the ppb segment
cla7aye15I4nd Dec 13, 2021
c6f72c7
Add device id in dbgmcu and fix critical typo
cla7aye15I4nd Dec 14, 2021
747413c
Add stn32 DBG struct
cla7aye15I4nd Dec 14, 2021
e010183
Add CRC Support
cla7aye15I4nd Dec 14, 2021
f59bff8
Refactor the gpio hook
cla7aye15I4nd Dec 14, 2021
6e34554
Update the hook_set/reset api
cla7aye15I4nd Dec 14, 2021
c45a0e6
Add stm32f407 CRC examples
cla7aye15I4nd Dec 14, 2021
75c84e1
Add a ML and oled example
cla7aye15I4nd Dec 14, 2021
037aa9a
minor bug fix
ucgJhe Dec 14, 2021
4641091
Merge pull request #1041 from ucgJhe/qdb
xwings Dec 15, 2021
aac25da
Delete useless import
cla7aye15I4nd Dec 15, 2021
2120d0f
Add header in example
cla7aye15I4nd Dec 15, 2021
b79b0e7
Merge pull request #1040 from cla7aye15I4nd/stm32f4
xwings Dec 16, 2021
a718921
fix showing two context when debugger mcu
ucgJhe Dec 16, 2021
2c002d0
fix #1042
ucgJhe Dec 16, 2021
134909f
remove redundant operation
ucgJhe Dec 16, 2021
bace0ea
Merge pull request #1044 from ucgJhe/dev
kabeor Dec 26, 2021
d33da19
sync rootfs
xwings Dec 27, 2021
f803a04
Merge branch 'dev' of https://github.com/qilingframework/qiling into dev
xwings Dec 27, 2021
25f3519
fix rootfs
xwings Dec 27, 2021
f9c5f1a
set_api tune
xwings Dec 28, 2021
76ad941
add QNX set_api() support
kabeor Dec 28, 2021
5ccc575
add QNX set_api() test assert
kabeor Dec 28, 2021
f6ba871
update ci.yml
kabeor Dec 28, 2021
3d19e7f
Change 'align' to align down and create 'align_up' instead
elicn Dec 28, 2021
37024ac
Change align usages to round_up
elicn Dec 28, 2021
978e1df
Use align and align_up where appropriate
elicn Dec 28, 2021
5f9c76d
Fix size calculation bug
elicn Dec 28, 2021
815f9d2
Fix size calculation bug (QNX fix)
elicn Dec 28, 2021
85b3186
Fix size calculation bug (again)
elicn Dec 28, 2021
c6a0264
Merge pull request #1051 from elicn/mem-align
kabeor Dec 29, 2021
0dfa357
Merge pull request #1050 from kabeor/dev
xwings Dec 29, 2021
b0bd49f
Merge branch 'dev' into dev
xwings Dec 29, 2021
43d413d
Merge pull request #4 from qilingframework/dev
xwings Dec 29, 2021
1a8452c
realign broken ident
xwings Dec 29, 2021
16c3c4e
cleanup qnx
xwings Dec 29, 2021
117cf7a
Merge pull request #1054 from xwings/dev
xwings Dec 29, 2021
3f83303
get ready for 1.4.1
xwings Dec 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ jobs:
wget https://github.com/qilingframework/rootfs/archive/refs/heads/master.zip
unzip master.zip && mv rootfs-master rootfs
cd ../qiling
rm -rf engine
wget https://github.com/qilingframework/engine/archive/refs/heads/main.zip
unzip main.zip && mv engine-main engine
cd ../examples/rootfs/x86_linux/kernel && unzip -P infected m0hamed_rootkit.ko.zip
cd ../../../../
pip3 install -e .[evm]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ test.file
core
*.perf
tests/output.txt
tests/testtest_*

9 changes: 0 additions & 9 deletions AUTHORS.TXT

This file was deleted.

12 changes: 8 additions & 4 deletions CREDITS.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,20 @@ NGUYEN Anh Quynh <aquynh@gmail.com>
Core Developers Crew
====================
Earl MARCUS (klks84) klks84@gmail.com
DING tianze (D1iv3) <dddliv3@gmail.com>
SUN bowen (w1tcher) <w1tcher.bupt@gmail.com>
CHEN huitao (null) <null@qiling.io>
YU tong (sp1ke) <spikeinhouse@gmail.com>
WU chenxu (kabeor) <kabeor@qiling.io>
KONG ziqiao (lazymio) <mio@lazym.io>
YU zheng (dataisland) <dataisland@outlook.com>
Eli Cohen Nehemia (elicn) <elichn@gmail.com>


Legacy Core Developers
======================
DING tianze (D1iv3) <dddliv3@gmail.com>
SUN bowen (w1tcher) <w1tcher.bupt@gmail.com>
CHEN huitao (null) <null@qiling.io>
YU tong (sp1ke) <spikeinhouse@gmail.com>


Travis, Website and Documentations
==================================
FOO Kevin (chfl4gs) <chfl4gs@qiling.io>
Expand Down
26 changes: 26 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
This file details the changelog of Qiling Framework.

------------------------------------
[Version 1.4.1]: Nov 15th, 2021

New features:
- Introduced riscv, both 32 and 64 (#980)
- Added U-boot (#1000)
- Abstract calls to native functions (#1013)

Improvements:
- Minor improvements to memory module (#1012)
- Refactored core hooks (#966)
- update ql.os.posix.const_mapping with more os/arch match (#973)
- More update in MCU modules (#971)
- Fix getpeername and getsockname syscalls (#986)
- Qdb improvements (#999)
- QNX improvements (#1054)

Contributors:
- cq674350529
- ucgJhe
- cla7aye15I4nd
- elicn
- xwings


------------------------------------
[Version 1.4.0]: Oct 20th, 2021

- Added MCU Engine
- Bug fix for qdb
- Bug fix for debugger
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM python:3.8-slim AS builder
LABEL maintainer="Kevin Foo <chfl4gs@qiling.io>"

ENV DEBIAN_FRONTEND=noninteractive
ENV AM_I_IN_A_DOCKER_CONTAINER Yes

RUN apt-get update \
&& apt-get -y upgrade \
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[![Documentation Status](https://readthedocs.org/projects/qilingframework/badge/?version=latest)](https://docs.qiling.io)
[![Downloads](https://pepy.tech/badge/qiling)](https://pepy.tech/project/qiling)
[![Chat on Telegram](https://img.shields.io/badge/Chat%20on-Telegram-brightgreen.svg)](https://t.me/qilingframework)

---

<p align="center">
Expand Down Expand Up @@ -193,14 +195,11 @@ With binary and GDB debugger enable:
$ ./qltool run -f examples/rootfs/x8664_linux/bin/x8664_hello --gdb 127.0.0.1:9999 --rootfs examples/rootfs/x8664_linux
```

See https://docs.qiling.io/ for more details

With code coverage collection (UEFI only for now):

```
$ ./qltool run -f examples/rootfs/x8664_efi/bin/TcgPlatformSetupPolicy --rootfs examples/rootfs/x8664_efi --coverage-format drcov --coverage-file TcgPlatformSetupPolicy.cov
```
---

With json output (Windows mainly):

Expand Down
2 changes: 1 addition & 1 deletion examples/evm/evm_Hexagon_overflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@


def example_run_evm():
ql = Qiling(archtype="evm")
contract = '0x606060405266017dfcdece4000600055341561001a57600080fd5b600160a060020a033316600090815260016020526040902066017dfcdece400090556106eb8061004b6000396000f3006060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018957806323b872dd146101ae57806327edf097146101d6578063313ce567146101ff578063378dc3dc1461021257806342966c681461022557806370a082311461023b578063771282f61461025a57806395d89b411461026d578063a9059cbb14610280578063dd62ed3e146102a2575b600080fd5b34156100d457600080fd5b6100dc6102c7565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610175600160a060020a03600435166024356102fe565b604051901515815260200160405180910390f35b341561019457600080fd5b61019c6103a4565b60405190815260200160405180910390f35b34156101b957600080fd5b610175600160a060020a03600435811690602435166044356103aa565b34156101e157600080fd5b6101e9610422565b60405160ff909116815260200160405180910390f35b341561020a57600080fd5b6101e9610427565b341561021d57600080fd5b61019c61042c565b341561023057600080fd5b610175600435610437565b341561024657600080fd5b61019c600160a060020a03600435166104ea565b341561026557600080fd5b61019c6104fc565b341561027857600080fd5b6100dc610502565b341561028b57600080fd5b610175600160a060020a0360043516602435610539565b34156102ad57600080fd5b61019c600160a060020a036004358116906024351661054f565b60408051908101604052600781527f48657861676f6e00000000000000000000000000000000000000000000000000602082015281565b60008115806103305750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b151561033b57600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005490565b600160a060020a03808416600090815260026020908152604080832033909416835292905290812054829010156103e057600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052208054839003905561041884848461056c565b5060019392505050565b600281565b600481565b66017dfcdece400081565b600160a060020a0333166000908152600160205260408120548290101561045d57600080fd5b600160a060020a033316600081815260016020526040808220805486900390558180527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb4980548601905581548590039091557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60016020526000908152604090205481565b60005481565b60408051908101604052600381527f4858470000000000000000000000000000000000000000000000000000000000602082015281565b600061054633848461056c565b50600192915050565b600260209081526000928352604080842090915290825290205481565b600160a060020a038216151561058157600080fd5b600160a060020a038316600090815260016020526040902054600282019010156105aa57600080fd5b600160a060020a038216600090815260016020526040902054818101116105d057600080fd5b600160a060020a03808416600081815260016020526040808220805460011990879003810190915593861682528082208054860190558180527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb4980546002908101909155825490940190915590917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5915160ff909116815260200160405180910390a281600160a060020a031683600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35050505600a165627a7a72305820fbef5b10322242b8659b5de8e24ec1cf5e809831f6f7c08e52112f76daa31aef0029'
ql = Qiling(code=contract, archtype="evm")

user1 = ql.arch.evm.create_account(balance=100*10**18)
user2 = ql.arch.evm.create_account(balance=100*10**18)
Expand Down
4 changes: 2 additions & 2 deletions examples/evm/evm_debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
from qiling import *

if __name__ == '__main__':
ql = Qiling(archtype="evm")
ql.debugger = True
contract = '0x6060604052341561000f57600080fd5b60405160208061031c833981016040528080519060200190919050508060018190556000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050610299806100836000396000f300606060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806318160ddd1461005c57806370a0823114610085578063a9059cbb146100d2575b600080fd5b341561006757600080fd5b61006f61012c565b6040518082815260200191505060405180910390f35b341561009057600080fd5b6100bc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610132565b6040518082815260200191505060405180910390f35b34156100dd57600080fd5b610112600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061017a565b604051808215151515815260200191505060405180910390f35b60015481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080826000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403101515156101cb57600080fd5b816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060019050929150505600a165627a7a7230582098f1551a391a3e65b3ce45cfa2b3fa5f91eea9a3e7181a81454e025ea0d7151c0029'
ql = Qiling(code=contract, archtype="evm")
ql.debugger = True

# Add Balance Var to the contract
bal = ql.arch.evm.abi.convert(['uint256'], [20])
Expand Down
Loading