GithubHelp home page GithubHelp logo

dynasm's People

Contributors

alnsn avatar capr avatar takikawa 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynasm's Issues

Assembly X86 Self Contained Code

Hello,

I am looking for assembly x86 self contained code generator, as I know that we need to compile libc-functions code static, then look at the assembly dump.I think the flag is -static to gcc. Then gcc will bring the wanted code out from libc into your code. And if I want 16-bit code I think I need to be on a 32-bit OS, like Windows 98. Then run gcc and tell it to output 16-bit code. I am not sure of the flag, maybe -m16.

As I actually need the Assembly X86 - 16 bit and 32 bit fully self contained and can I analyse source code and binaries, identifying programming bugs that can result in system crashes, memory corruption, leaks, data races, and security vulnerabilities on assembly x86 self contained code.

My questions are:

Do you know how to get Assembly X86 - 16 bit and 32 bit fully self contained ? if yes can you tell me how.

Do you have examples on Assembly X86 - 16 bit and 32 bit fully self contained which have bugs and security vulnerabilities? If yes code you provide me some examples.

Do you know a software can convert the Assembly X86 libc-functions code to Assembly X86 - 16 bit and 32 bit fully self contained? or to generate Assembly X86 self contained from exe file

Is there a way to convert the Assembly X86 libc-functions code to Assembly X86 - 16 bit and 32 bit fully self contained? or is there away to get Assembly X86 - 16 bit and 32 bit fully self contained?

Do you know a software can find the bugs and security vulnerabilities on assembly X86 - 16 bit and 32 bit fully self contained??

Thanks

pipe character conflicts with lua 5.3 `bor` operator

Lua 5.3 introduces bitwise operators, including |.
It's not uncommon to write code like:

if (getsomelongthing:foo(arg1)
    | getsomelongthing:bar()
    & somemask) ~= 0 then
  ......
end

This conflicts with the pipe character as used in dynasm

dynasm for Lua is awesome

I am super impressed with this Lua adaptation of dynasm!

I have hooked it into Snabb Switch over here: snabbco/snabb#575 and look forward to getting some experience. (The integration is a bit messy: probably best would be to make a Github fork of this upstream repo, make changes and send PRs from there, and link it as a submodule into snabbswitch..?)

and a question too:

Would it make sense to make dynasm preserve line numbers in the Lua source files? I suspect error messages will be confusing otherwise. also, if we did that, perhaps we could run dynasm on every source file so that it is always available...

Examples not working

I've tried the examples in both Windows and Ubuntu x64, they don't work.
It crashes with an assertion fail, when I execute the multiply_x86 example on windows, it returns 786291992

It seems like the esp variables aren't filled with the actual variables

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.