Giter VIP home page Giter VIP logo

halucinator's People

Contributors

aacleme avatar clemen19 avatar diagprov avatar gannimo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

halucinator's Issues

IRQ never trigger

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]

Keystone fails to find sharedlib

Get an error when running halucinator like below

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

Work around

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/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.