embedded-sec / halucinator Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
I'm using HAL_UART_Receive_IT, and ISR of USART1_IRQHandler num is 53.
I use hal_dev_irq_trigger -b 0x8000000
to set IRQ base address and use hal_dev_irq_trigger -i 53
to trigger ISR 53 but it dosen't work.
Finally I refer to the code halucinator/src/halucinator/bp_handlers/generic/counter.py
because I found SysTick_Handler should be trigger by ISR 15, and halucinator/src/halucinator/bp_handlers/generic/counter.py
handles SysTick_Handler. I modified halucinator/src/halucinator/bp_handlers/generic/counter.py
add hal_log.info("trigger")
and I found the code never trigger. I suspect that IRQ does not work.
halucinator/src/halucinator/bp_handlers/generic/counter.py
@bp_handler
def get_value(self, qemu, addr):
'''
Gets the counter value
'''
self.counts[addr] += self.increment[addr]
+ hal_log.info("trigger")
return True, self.counts[addr]
File "<virt_environment>/halucinator/local/lib/python2.7/site-packages/keystone/keystone.py", line 75, in <module>
raise ImportError("ERROR: fail to load the dynamic library.")
Share keystone's share library gets put in wrong place on Ubuntu 16.04
keystone-engine/keystone#235
Assuming you virtual environment is halucinator
and stored in ~/.virtualenvs
. The below resolves this issue
cp ~/.virtualenvs/halucinator/lib/python2.7/lib-dynload/libkeystone.so ~/.virtualenvs/halucinator/local/lib/python2.7/site-packages/keystone/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.