mirror of
https://github.com/wiiu-env/wiiuhaxx_common.git
synced 2024-12-18 12:11:50 +01:00
Add a ropchain type to print the payload_srcaddr.
This commit is contained in:
parent
c4affe4294
commit
7896f5733e
@ -117,6 +117,10 @@ function generate_ropchain()
|
|||||||
{
|
{
|
||||||
generateropchain_type2();
|
generateropchain_type2();
|
||||||
}
|
}
|
||||||
|
else if ($ropchainselect==3)
|
||||||
|
{
|
||||||
|
generateropchain_type3();
|
||||||
|
}
|
||||||
|
|
||||||
if($generatebinrop==0)$ROPCHAIN.= "\"";
|
if($generatebinrop==0)$ROPCHAIN.= "\"";
|
||||||
}
|
}
|
||||||
@ -488,4 +492,10 @@ function generateropchain_type2(){
|
|||||||
ropchain_appendu32($codegen_addr);
|
ropchain_appendu32($codegen_addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Print payload_srcaddr.
|
||||||
|
function generateropchain_type3(){
|
||||||
|
global $payload_srcaddr;
|
||||||
|
ropgen_OSFatal($payload_srcaddr);
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user