Magisk/native/jni/magiskboot
Shaka Huang e3801d6965
Fix overflow
`totalsize` might be a big (invalid) number so instead of checking the end address we check the size of the image.

Fix #4049
2021-03-24 03:02:46 -07:00
..
bootimg.cpp Fix overflow 2021-03-24 03:02:46 -07:00
bootimg.hpp Patch AVB structures 2021-03-02 20:37:37 -08:00
compress.cpp Use custom class instead of std::map 2021-03-02 23:16:10 -08:00
compress.hpp Small native code reorganization 2020-03-09 01:50:30 -07:00
dtb.cpp Patch AVB structures 2021-03-02 20:37:37 -08:00
dtb.hpp Patch AVB structures 2021-03-02 20:37:37 -08:00
format.cpp Use custom class instead of std::map 2021-03-02 23:16:10 -08:00
format.hpp Use custom class instead of std::map 2021-03-02 23:16:10 -08:00
hexpatch.cpp Use memmem for searching byte patterns 2021-02-28 14:37:12 -08:00
magiskboot.hpp Refactor magiskboot 2021-02-28 14:37:12 -08:00
main.cpp Use custom class instead of std::map 2021-03-02 23:16:10 -08:00
pattern.cpp Proper pattern matching 2021-03-09 04:08:34 -08:00
ramdisk.cpp Install both 32 and 64 bit binaries 2021-01-18 12:37:08 -08:00