Questions tagged [runtimemodification]
15 questions
12
votes
1 answer
Java - Relocate references at runtime
So first off I know that you can relocate all references your compiled jar with various shadow plugins on different build systems. I know how that works and am already using it. However I ran into a problem where I can't do that at compile…

BrainStone
- 3,028
- 6
- 32
- 59
5
votes
5 answers
Java: No ArrayList modifications from outside classes
I use an ArrayList in one of my Java project's classes. The class keeps track of whether the list has been changed and offers public methods to add and remove elements from the list that automatically set the variable to "changed".
So far the list…

stefanbschneider
- 5,460
- 8
- 50
- 88
4
votes
9 answers
Change config values on a specific time
I just got a mail saying that I have to change a config value at 2009-09-01 (new taxes). Our normal approach for this would be to to awake at 2009-08-31 at 23:59 and then just change the value manually. Which not is a big problem since this don't…

Carl Bergquist
- 3,894
- 2
- 25
- 42
2
votes
9 answers
How to Inject code in c# method calls from a separate app
I was curious if anyone knew of a way of monitoring a .Net application's runtime info (what method is being called and such)
and injecting extra code to be run on certain methods from a separate running process.
say i have two applications:…

Fusspawn
- 1,405
- 12
- 19
1
vote
1 answer
Angular - how to create separate "ViewContainerRef" Containers for different tabs in mat-tab
I am creating runtime component module with dynamic component by binding html data and functions to it, which i am fetching from api call, as string data.
And then loading the newly generated component to my container, placed in the tabs, as i am…

Amrit
- 11
- 2
1
vote
1 answer
How does cycript / substrate work to hook into a process?
I am currently doing some research on techniques about hooking mobile applications and came across some frameworks like Xposed (Android), Frida (Android and iOS) and Cycript (iOS).
The documentation about Xposed and Frida is fairly good explaining…

Phoebus
- 311
- 2
- 17
1
vote
0 answers
Java: Is it possible to execute the modified code of a method (changed in runtime) using its existing invocations
I got many similar questions on SO but still trying to figure out if we can replace a method body at runtime and can that modified method be executed by the existing invocations to that method.
After reading many answers to similar questions, I…

Ripon Saha
- 43
- 6
0
votes
1 answer
Making a dictionary of data frames from pandas data frame without writing it to excel file
I have this code that is working but i want to modify it such that i acheive the result with out writing and reading to excel file. Intended out put is given in the end
df = pd.DataFrame({'a': ['red', 'yellow', 'red'], 'b': [0.5, 0.25,…

gmm005
- 27
- 5
0
votes
0 answers
How to open the .c file which contains the implementation for any system call in Linux?
My motive is to open the definition i.e the (.c) file of the shm.h header, but after following tons of advices and experiencing a lot, I still couldn't not get the exact location of it in Linux. When I open the header files, it says something like…

Luksh Kumar
- 13
- 2
0
votes
0 answers
Replace method implementation in Android via reflection / class loader
I am currently doing research on techniques for runtime manipulation on mobile applications. On the iOS platform I can easily do method swizzling by calling objective-c runtime library functions such as class_replaceMethod(...). Is an equivalent way…

Phoebus
- 311
- 2
- 17
0
votes
1 answer
MySQL: Is it possible to list all tables with a modification date?
Is it possible to list all tables in a given MySQL database with the modification date in the right side?
I am looking for something like
SHOW TABLES FROM MY_DATABASE;

DanielTheRocketMan
- 3,199
- 5
- 36
- 65
0
votes
0 answers
Injecting new compiled function implementations into a native executable during run-time?
I'm implementing a Lisp-like language with a primary design goal of full interoperability with C. This means static typing, direct support of all primitives defined by the C standard, pointer arithmetic and low-level memory management. Macros are…

user3026691
- 497
- 2
- 11
0
votes
2 answers
iframes modifications
I have a website which uses top in JavaScript to show bookshops in a panel. Now i want to add this website into another website using a frame. But when I fix the URL in the src of the frame , it changes the hierarchy of the pages or images and the…
Khushi
-2
votes
1 answer
Invoking a dll function without a call in the main
I want to know how can we call a function that is defined in external static class (dll file) without a call to it in main.
To make things clearer, consider an exe file of which code is not exposed and we cannot do any sort of modifications to it,…

GANESH GANI
- 101
- 11
-2
votes
1 answer
Java Help (Waituntil?)
I want to create a java function, like a wait until this has passed in seconds, then they may preform the action.. Here is what I have:
if(Minecraft.getMinecraft().gameSettings.keyBindJump.pressed)
hasTimePassedS(2);
…

Hobo
- 1
- 2