This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__signbit_d: | |
mov rdi, rsp | |
and rsp, 0xFFFFFFFFFFFFFFF0 ; align stack to 16 bytes | |
movaps [rsp], xmm0 | |
sub rsp, 16 | |
mov rax, [rdi+8] | |
and ~(1<<63) | |
ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint64_t ba = data.address; | |
uint64_t len = data.size; | |
if (data.type != 1) // not a ram | |
continue; | |
if (len < 0x10000) | |
continue; // waste of a section | |
uint64_t base_addr = ba; | |
uint64_t lenght = len; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedInputStream; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.URL; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.Stack; |
NewerOlder