C++ 17 Value Category System
-----------------------------
| glvalue | |
-----------------------------
| lvalue | xvalue | prvalue |
-----------------------------
| | rvalue |
-----------------------------
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import decimal | |
import fractions | |
import math | |
import six |
//wearversion | |
//wearlog | |
//wearvoiceinputenable | |
//wearvoiceinputdisable | |
//weargoogleapi | |
//assert | |
//pushassert | |
//uplog | |
//upcrash | |
//switchnotificationstatus |
C++ 17 Value Category System
-----------------------------
| glvalue | |
-----------------------------
| lvalue | xvalue | prvalue |
-----------------------------
| | rvalue |
-----------------------------
// compile me: g++ -shared -fPIC -ldl -o monkeypatchor.so monkeypatchor.cpp | |
// use me: LD_PRELOAD=`pwd`/monkeypatchor.so /bin/ls | |
#include <dlfcn.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/mman.h> | |
void* (*malloc_super)(size_t); | |
void (*free_super)(void*); |
MIT License | |
Copyright (c) 2018 Oleg Yamnikov | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
Following instructions are provided without any warranty, and may even get you in trouble legally. The instructions are provided for testing, and should be use with care. We (including commentators) are not responsible for any damage to your device(s).
This may enable additional channels and power (in most cases don't) on ASUS Merlin provided routers.