Ad
  • Custom User Avatar

    Please i don't have a test for this chall in ruby :/

  • Custom User Avatar

    It is a standard that is part of the intel doc that means that we will use values that we can't predict for example non immediate values.

  • Custom User Avatar

    So indeed this is the basis for creating an x86 disassembler, however in this challenge I do not ask to implement the whole algorithm it would be too long! I only ask to work with the 11 Register Adressing mode, this mode simply means that we won't work with immediate values nor with displacements (mov eax, DWORD [ebp+0x8]). Instead we will work with two registers (move eax, eax; add edi, esi).

    I have only implemented in ruby the 32 bits table. And for the iarch=32 it is simply to specify that we will work with 32 bits instructions it is true that in the case of the challenge it is not useful I will remove it.

  • Custom User Avatar

    okay look

    0b11 => Register adressing example => mov eax, edi
    0b01 => Displacement of 8 bits so 1 byte example => mov eax, DWORD [EBP+0x8]

    its ok?

  • Custom User Avatar

    Do you want me to give you the answer too ^^? The first table is the opcode table, the second is the r/m mod table. I explained how to do it manually if you think you can understand the steps to develop the algorithm and therefore to use the tables provided. Of course I made the tables so that you don't have to spend hours to implement them again but if you want to implement them yourself there is no problem.

  • Custom User Avatar

    I have updated the tests and the description.

  • Custom User Avatar

    I have updated the tests and the description.

  • Custom User Avatar

    thanks you i will fix that

  • Custom User Avatar

    I will fix that. thank you

  • Custom User Avatar

    It is not that recent and then I have already seen anti cheats in code wars challenges in ruby

  • Custom User Avatar

    Hello, I am currently developing a kata for CW however I would like to remove the use of importing specific module all this in ruby do you have any solutions?

  • Custom User Avatar

    How to disable using method in code wars ?

  • Custom User Avatar

    Good chall thx