Giter VIP home page Giter VIP logo

cccapstone's People

Contributors

kobj avatar zer0mem 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cccapstone's Issues

Memory leak?

I try to use this library; in long run, program memory usage becomes inadequately huge. I reviewed code and found following fragment:

__forceinline CsInsClass_t Instructions(__in size_t i) 
{
	return *new CsInsClass_t(m_csh, m_csInstructions + i);
}

We create instance of CsInsClass_t in heap and return its copy (even not reference), so there are no way to call delete and clean memory.

Each time we try to disassemble instruction, we get memory leak.

Wrapper updated?

Is this code for the wrapper updated with the most recent release of capstone? Just thought I would ask first easier than just digging in and trying to find an answer.

Windows specific SAL notation

Code uses __in __out __inout __forceinline... These are Windows specific.

You can define most of them away:

#define __in 
#define __out
#define __inout
#define __in_opt
#define __forceinline __attribute__((always_inline))

but it would be nice if the code was Linux ready as well.

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.