Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Added instruction without operand in dnlib

Featured Replies

Posted

How to add instruction without operand in dnlib, For example I wanted add Call opcode without operand, Is it possible?

Edited by Perplex

No it's not posible!
And why you want call witouth operand from first place?
 

  • Author

I wanted add invalid instruction to for each mehod.

8 hours ago, Perplex said:

I wanted add invalid instruction to for each mehod.

IL code is compiled to native asm code on runtime, and even if you would just jump over this "invalid" instruction, the .net runtime wouldn't know how to parse this, causing your program to crash.

 

You'd have to remove this instruction before you call this function.

 

Otherwise, if you want, just try and see for yourself

method.Body.Instructions.Add( OpCodes.Call.ToInstruction( ) );

Edited by A200K

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.