MCPcopy Create free account
hub / github.com/WheretIB/nullc / x86JMP

Function x86JMP

NULLC/Translator_X86.cpp:1171–1176  ·  view source on GitHub ↗

jmp [index*mult+base+shift]

Source from the content-addressed store, hash-verified

1169
1170// jmp [index*mult+base+shift]
1171int x86JMP(unsigned char *stream, x86Size, x86Reg index, int multiplier, x86Reg base, unsigned int shift)
1172{
1173 stream[0] = 0xff;
1174 unsigned int asize = encodeAddress(stream+1, index, multiplier, base, shift, 4);
1175 return 1+asize;
1176}
1177
1178int x86JMP(unsigned char *stream, unsigned int labelID, bool isNear)
1179{

Callers 1

TranslateToNativeMethod · 0.85

Calls 3

encodeAddressFunction · 0.85
UnsatisfiedJumpClass · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected