-
Notifications
You must be signed in to change notification settings - Fork 746
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #957 from qilingframework/dev
Getting ready for 1.4.0
- Loading branch information
Showing
102 changed files
with
12,251 additions
and
1,567 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
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 |
---|---|---|
|
@@ -11,20 +11,22 @@ Advisor | |
NGUYEN Anh Quynh <[email protected]> | ||
|
||
|
||
Travis, Website and Documentations | ||
================================== | ||
FOO Kevin (chfl4gs) <[email protected]> | ||
|
||
|
||
Core Developers | ||
=============== | ||
Core Developers Crew | ||
==================== | ||
Earl MARCUS (klks84) [email protected] | ||
DING tianze (D1iv3) <[email protected]> | ||
SUN bowen (w1tcher) <[email protected]> | ||
CHEN huitao (null) <[email protected]> | ||
YU tong (sp1ke) <[email protected]> | ||
Earl MARCUS (klks84) [email protected] | ||
WU chenxu (kabeor) <[email protected]> | ||
KONG ziqiao (lazymio) <[email protected]> | ||
YU zheng (dataisland) <[email protected]> | ||
Eli Cohen Nehemia (elicn) <[email protected]> | ||
|
||
|
||
Travis, Website and Documentations | ||
================================== | ||
FOO Kevin (chfl4gs) <[email protected]> | ||
|
||
|
||
Key Contributors (in no particular order) | ||
|
@@ -36,7 +38,6 @@ ucgJhe | |
jhumble | ||
Mark Jansen (learn-more) | ||
cq674350529 | ||
elicn | ||
bkerler (viperbjk) | ||
|
||
|
||
|
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 |
---|---|---|
|
@@ -218,35 +218,9 @@ Contact us at email [email protected], or via Twitter [@qiling_io](https://twitter. | |
|
||
--- | ||
|
||
#### Core developers | ||
|
||
- LAU kaijern (xwings) <[email protected]> | ||
- NGUYEN Anh Quynh <[email protected]> | ||
- DING tianZe (D1iv3) <[email protected]> | ||
- SUN bowen (w1tcher) <[email protected]> | ||
- CHEN huitao (null) <[email protected]> | ||
- YU tong (sp1ke) <[email protected]> | ||
- Earl Marcus (klks84) [email protected] | ||
- WU chenxu (kabeor) <[email protected]> | ||
- KONG ziqiao (lazymio) <[email protected]> | ||
|
||
#### Travis-CI, Docker, Website and Documentation | ||
|
||
- FOO Kevin (chfl4gs) <[email protected]> | ||
|
||
#### Key Contributors (in no particular order) | ||
|
||
- 0ssigeno | ||
- liba2k | ||
- assafcarlsbad | ||
- ucgJhe | ||
- jhumble | ||
- Mark Jansen (learn-more) | ||
- cq674350529 | ||
- elicn | ||
- bkerler (viperbjk) | ||
- madprogrammer | ||
- danielmoos | ||
#### Core developers, Key Contributors and etc | ||
|
||
Please refer to [CREDITS.TXT](https://github.com/qilingframework/qiling/blob/master/CREDITS.TXT) | ||
|
||
--- | ||
|
||
|
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,145 @@ | ||
------------------------------------------------------------------------------------------------- | ||
| | | | ### | ### |#### | # | | | | | | | | | | | ||
| | | |# #|# #|# #| # | | | | | | ####| ### | # #|# ## | | ||
| | | |# ##| #|# #| # |#### | | | | | # #| |# # #|## #| | ||
| | | |# # #| ## #|#### | |# #| | | |#####|# # #| ### |# # |# #| | ||
| | | |## #|# # #|# | |#### | | | | | ##| | ## #|#### | | ||
| | | |# #|# # #|# | |# | | | | | # | ### | |# | | ||
| | | | ### | ### |# | |# | | | | | ## | #| |# | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | # | # | ### | ### | | | | | |#####| # | | # # | | | ||
| | | # | ## |# #|# #| | | | | | #|### | # | ### | ## #| | ||
| | | # | # |# #|# #| ### | ## #| | | | # #| # | # | #|# ##| | ||
| | | # | # |# #|# #| #|# ##| | | | ## |#####|# | ####|# #| | ||
| | | | # |#####|# # #| ####| ####| | |### | # | # |# #|# #| ####| | ||
| | | | # |# #|# # |# #| #| | |# # | # | # |#####| ####| #| | ||
| | | # | ### |# #| ## #| ####| #| | |### | # | # | #| | #| | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | # # | ### |#### |#### |# | | | | ###| #| | | ### | ### | | ||
| | | # # |# #|# #|# #|# | | | | # | # |# # #| #|# #|# #| | ||
| | | # # | #|# #|# #|#### |# ## | | | # | # |# # #| #|#### |#####| | ||
| | | | # |#### |#### |# #|## #| | | # | ## |# # #| # # |# #|# #| | ||
| | | | # |# #|# # |# #|# | | | |# # | #| # |#### |# #| | ||
| | | | # |# #|# # |# #|# | | | | # | # | # # |# | ### | | ||
| | | |#####|#### |# #|#### |# | | | | # | # |# |# | | | ||
| | | | | | | | | | | | | | |# | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | # # |#####| ### | ####| | | | | | # | ### | | | | | ||
| | | # # | # |# #|# | | | | | |#####| |#####| ### | | | ||
| | |#####| # |# |# | ### | ### | | | |# #|#####| # |# | # ##| | ||
| | | # # | # |# | ### |# |# | | | # |# #| # |#####| ## |# # #| | ||
| | |#####| #|# | #|# | ### | | | # | #| # | # |# #|## # | | ||
| | | # # |# #|# #| #|# #| #| | | # | # | # | # | ### | | | ||
| | | # # | ### | ### |#### | ### |#### | | |### | # | # | ###| | | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | # | # |### |#####| #| # | | | | | # | # | | | | ||
| | | ####| ## |# # | # | #| # | | | |#####| # | # |# #| ### | | ||
| | |# # | # # |# #| # | ## #|### | | | | # | # |#####|# #|# #| | ||
| | | ### |# # |# #| # |# ##| # | | | | # | ## | # #|# #|# #| | ||
| | | # #|#####|# #| # |# #| # | | |# | # | # # | # # |### #| # # | | ||
| | |#### | # |# # | # |# #| # #| | | # | # | # | # |# |## ##| | ||
| | | # | # |### | # | ####| ## | | | # |#####| # | # |# | | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | |## |#####|#####|# #| | | | | | # | # | | | # # | | ||
| | |## #|# |# |# #| | | | | |#####| # | ### | ####|# #| | ||
| | | # |#### |# |# #| ### |# #| | | | # |#####| # |# # |# #| | ||
| | | # | #|#### |# #|# #|# #| | | ## | ## | # | # |# # |# ##| | ||
| | | # | #|# |# #|#####|# #| | | ## | # # | # | # | ### | ## #| | ||
| | |# ##|# #|# |# #|# |# ##| | | |# # | # | # | | | | ||
| | | ##| ### |#####| ### | ### | ## #| | | | # |# |#####| | | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | ## | ## |#####|# #| ## | | | | | # | | | |#####| | ||
| | |# # | # |# |# #| # #| | | |#####|#####| ### |#####| ## | # | | ||
| | |# # |# |# |# #| # |# #| | | #| # #| | #| # #| # | | ||
| | | # |#### |#### |# #|### |# #| | |#####| # #| |#####|# #| # | | ||
| | |# # |# #|# |# #| # |# #| | | #| # #| | #|#### |#####| | ||
| | |# # |# #|# | # # | # | # # | | | # | # #| | #|# | | | ||
| | | ## #| ### |# | # | # | # | | | # |# # |#####|#####|# | | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | ## |#####| ### |# #| | | | | | # | | ### | | | | ||
| | | # | #|# #|# #| ####| | | | |#####|#####| | ### |#####| | ||
| | | # | # |# |# #|# #|# #| | |#####| # | #|#####|# #| # # | | ||
| | | | # |# ###|# #|# #|# #| | | #|#####| # # | #|# #| # # | | ||
| | | | # |# #|# # #| ####|# #| | | # | # | # | #| ####|# ##| | ||
| | | | # |# #|# # #| #|# # #| | | # | # | # # | # | #| | | ||
| | | | # | ### | ### | ### | # # | | | # | # |# | # | #| | | ||
| | | | | | | | | | | | | | | ### | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | # | ### |# #|# #|# | | | | | | # |# # | |#####| | ||
| | | # |# #|# #|# #|# | | | | | ####|#####|# # | ###|# #| | ||
| | | # |# #|# #| # # |# ## |# #| | | # | # #| # |# # | # | # # | | ||
| | | # | ### |#####| # |## #| # # | | | # |# #| # |# # | # | # | | ||
| | | # |# #|# #| # # |# #| # | | | ## | #| ### | # | # |# #| | ||
| | | # |# #|# #|# #|# #| # # | | |# # | # |# # #| # | | | | ||
| | | # | ### |# #|# #|# #|# #| | | # | ## | # | # | | | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | # | ### | ### |# #| # | | | | | # | # | | | | | ||
| | | # |# #| # |# #| | | | | | ####| # | # |## # |# #| | ||
| | | # |# #| # |# #| ## |# #| | | # |# # | # |# # | # |# #| | ||
| | | # | ####| # | # # | # |# #| | |#####| # | # |# # | |# #| | ||
| | | # | #| # | # | # | ####| | |# #| # | # |# # #| | ####| | ||
| | | # | # | # | # | # | #| | | #| # | # |# # #| | #| | ||
| | | # | ## | ### | # | ### | ### | | | ## | # | # |# ## | | ### | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | | | ###|#####| # | | | | | | | | # | #| | ||
| | | # | ## | # | #| | | | | |#####| # |# | |#### | | ||
| | |# # #| ## | # | # | ## |#####| | | | #| # |# | ## | # | | ||
| | | ### | | # | # | # | # | | |#####| #|# #|# #| # |#####| | ||
| | |# # #| ## | # | # | # | # | | | # | #|# #|# # | # | # | | ||
| | | # | ## |# # |# |# # | # | | | # | #|# #|# # | # | | | ||
| | | | | ## |#####| ## |#####| | |#####|#####|# #|## |# # | | | ||
| | | | | | | | | | | | | | | ## | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | | |# #| ### |# | # | | | | # # |# | |# # | | | ||
| | | # | ## |# # | # |# | # | | | |#####|# |#####| # |#####| | ||
| | | # | ## |# # | # |# # | # | | | # | # # |#####|# #|# # | # | | ||
| | |#####| |## | # |# # | # | | |#####| # # |# |# #| | ####| | ||
| | | # | ## |# # | # |## | # | | | ## | # |# |# #| | # #| | ||
| | | # | # |# # | # |# # | # | | | # # | # |# |# #| |# #| | ||
| | | | # |# #| ### |# # | # | | |# # | # | ####|#####| | | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | | # |# |# #| ## | # | | | | | | | # | | | ||
| | | | # |# | # # | # | # | | | |## |#####|#####| ### |#####| | ||
| | | | # |# |#####| # | # | | | # | #| #|# #|# # |# # #| | ||
| | | |# |# | # | # | # | | |#####|## #| #|# #|# # #|#####| | ||
| | | ## | # |# |#####| # | # | | | # #| #| #| #| ### |# #| | ||
| | | # | # |# | # | # | # | | | # # | # | # | # | # |# #| | ||
| | | # | # |#####| # | ### | # | | | # |### | ## | # | | | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | | |# #| ### | | # | | | | | | | # | | | ||
| | | | |## ##| # | | # | | | |#####| # |## |### | # | | ||
| | | |#####|# # #| # |## # | # | | | | #|# # | | # |#####| | ||
| | |#####| |# # #| # |# # #| # | | | ### | # | # | #|### | # | | ||
| | | |#####|# #| # |# # #| # | | | # | # | #| #| # | | | ||
| | | | |# #| # |# #| # | | | # | # # | #| # | ####| | | ||
| | | | |# #| ### |# #| # | | |#####|# #| |### | | | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | | # |# #| # | | | | | | # | # | # | ### | | | ||
| | | | # |# #| # # | | # | | | |#####|#####|# # |# ## | | | ||
| | | | # |## #|# #|# ## | # | | |#### | # #| # | # |## #| | | ||
| | | | #|# # #| |## #|#####| | | # | # # | # | |# #| | | ||
| | | | # |# ##| |# #| # | | |#### | # |# # #| |# #| | | ||
| | | ## | # |# #| |# #| # | | | # | # |# # #| | | | | ||
| | | ## | # |# #| |# #| | | |#### | ###| # | | | | | ||
| | | | | | | | | | | | | | | | | | ||
------------------------------------------------------------------------------------------------- | ||
| | | | ### | ### | | | | | | | | |### | # # |#####| | ||
| | | #|# #|# #| | | # | | | |# #|#####|# # | ### |#####| | ||
| | | # | #|# #| | ### | # | | | |# #| #|### |# #|#####| | ||
| | | # | # |# #| |# #|#####| | |# # #| # #| #| |# #|#####| | ||
| | | # | # |# #| |# #| # | | |# # #| #| # # | | ### |#####| | ||
| | |# | |# #| |# #| # | | | #| # | # | | |#####| | ||
| | | | # | ### |#####| ### | | | | ## | ## | # | | |#####| | ||
| | | | | | | | | | | | | | | |#####| | ||
------------------------------------------------------------------------------------------------- |
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,25 @@ | ||
import sys | ||
sys.path.append("../..") | ||
|
||
from qiling.core import Qiling | ||
from qiling.const import QL_VERBOSE | ||
|
||
|
||
def stm32f411_dma(): | ||
ql = Qiling(["../rootfs/mcu/stm32f411/dma-clock.hex"], | ||
archtype="cortex_m", profile="stm32f411", verbose=QL_VERBOSE.DEBUG) | ||
|
||
ql.hw.create('usart2') | ||
ql.hw.create('dma1') | ||
ql.hw.create('rcc') | ||
|
||
ql.run(count=200000) | ||
buf = ql.hw.usart2.recv() | ||
|
||
## check timestamp | ||
tick = [int(x) for x in buf.split()] | ||
for i in range(1, len(tick)): | ||
assert(4 <= tick[i] - tick[i - 1] <= 6) | ||
|
||
if __name__ == "__main__": | ||
stm32f411_dma() |
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,29 @@ | ||
import sys | ||
sys.path.append("../..") | ||
|
||
from qiling.core import Qiling | ||
from qiling.const import QL_VERBOSE | ||
|
||
|
||
def stm32f411_freertos(): | ||
ql = Qiling(["../rootfs/mcu/stm32f411/os-demo.hex"], | ||
archtype="cortex_m", profile="stm32f411", verbose=QL_VERBOSE.DEBUG) | ||
|
||
ql.hw.create('usart2') | ||
ql.hw.create('rcc') | ||
ql.hw.create('gpioa') | ||
|
||
count = 0 | ||
def counter(): | ||
nonlocal count | ||
count += 1 | ||
|
||
ql.hw.gpioa.hook_set(5, counter) | ||
|
||
ql.run(count=200000) | ||
|
||
print(count >= 5) | ||
print(ql.hw.usart2.recv()) | ||
|
||
if __name__ == "__main__": | ||
stm32f411_freertos() |
Oops, something went wrong.