Anonymous
but the main reason he had for using glog which i say is a waste of space and you can make your own with much less effort
Anonymous
is demangling + portablity
Dima
One hits other (talking about cxxabi)
Anonymous
cxxabi is on mingw as well
Anonymous
plus you should not have demangling inside a production executable
Anonymous
it makes it so much simpler to reverse engineer
Anonymous
if you really want it in msvc you can have an ifdef
Dima
plus you should not have demangling inside a production executable
this is curious I should have find more naughty ways to get stacktrace prettified
Anonymous
and use UnDecorateSymbolName
Anonymous
and this is used in practically the same way
Anonymous
Anonymous
for example spotify
Anonymous
they remove majority of the names from their functions
Anonymous
keeping only main
Anonymous
this is for production
Dima
Lol develop-time code obfuscation xD
klimi
klimi
I did research
Anonymous
Lol develop-time code obfuscation xD
did you ever see my autism code?
Anonymous
the one that writes NIGGER to the screen?
Dima
for example spotify
I was checking out the UE4 code lately and they simply use cxxabi with all stuff without hiding everything (well it’s open source anyways)
Anonymous
here
Anonymous
enjoy
Anonymous
it only works on certain ones
Dima
top kek
Anonymous
if you have an amd you need to change the offset
Dima
bitchlasagna.c
Dima
Gj
Anonymous
like the autism levels might have to change
Anonymous
Dima
this is a masterpiece
Anonymous
you also can call functions from arbitrary offsets inside the function
Anonymous
which i do in other programs
Anonymous
in these cases the whole demangling does not help
Anonymous
// Note that this demangler doesn't support full demangling. More // specifically, it doesn't print types of function parameters and // types of template arguments. It just skips them. However, it's // still very useful to extract basic information such as class, // function, constructor, destructor, and operator names. // // See the implementation note in demangle.cc if you are interested. // // Example: // // | Mangled Name | The Demangler | abi::__cxa_demangle() // |---------------|---------------|---------------------— // | _Z1fv | f() | f() // | _Z1fi | f() | f(int) // | _Z3foo3bar | foo() | foo(bar) // | _Z1fIiEvi | f<😠) | void f<int😠int) // | _ZN1N1fE | N::f | N::f // | _ZN3Foo3BarEv | Foo::Bar() | Foo::Bar() // | _Zrm1XS_" | operator%() | operator%(X, X) // | _ZN3FooC1Ev | Foo::Foo() | Foo::Foo() // | _Z1fSs | f() | f(std::basic_string<char, // | | | std::char_traits<char>, // | | | std::allocator<char> >) also this is literally in the documentation of glog
Anonymous
https://github.com/google/glog/blob/master/src/demangle.h
Anonymous
it does not even give you a correct demangling of the thing
Parra
it does not even give you a correct demangling of the thing
in any case they are for different purposes.. // An async-signal-safe and thread-safe demangler for Itanium C++ ABI // (aka G++ V3 ABI). // The demangler is implemented to be used in async signal handlers to // symbolize stack traces. We cannot use libstdc++'s // abi::__cxa_demangle() in such signal handlers since it's not async // signal safe (it uses malloc() internally).
Anonymous
as you likely are exiting from the program once you have that bug
Luis José
+400 msgs on a few hours is not a good definition for "inactive group"
Anonymous
i have one like that
Anonymous
but a lot is a bot spamming 4chan posts as they are posted
Czar
Can any one suggest good online IDE? i am using https://ideone.com/ mostly but i am looking mostly for jupyter type notebooks similar to https://colab.research.google.com/notebooks/welcome.ipynb#recent=true
Czar
i have tried xeus-cling notebooks but not able to use same on windows
Czar
only mac/linux it works fine
Czar
also not able to find any webhosted or install in colab.research.google
Luis José
Now it's an inactive group (
Some active people from here are sleeping
S.
kek true
Krithik Kumar
Could anyone help me with the output for this program,my loop is not working
klimi
Lame
Krithik Kumar
Like this..
klimi
And what is the problem
Krithik Kumar
I can be able to give only one input
Krithik Kumar
It is terminating after giving 1 input as it was supposed to take 7 inputs
klimi
Hm
klimi
Hm that's weird
klimi
Did you saved and compiled the right program,?
Krithik Kumar
Yes
S.
Could anyone help me with the output for this program,my loop is not working
You should use something like https://paste.ubuntu.com to share code
Krithik Kumar
You should use something like https://paste.ubuntu.com to share code
Oh ok I'll use it from next time..I didn't know this stuff
klimi
Welcome
Dima
Could anyone help me with the output for this program,my loop is not working
array indexes start from 0 and you are using 1 as start
Anonymous
klimi
klimi
He gets only one for loop cycle
Anonymous
But that never happens
I know, but it's still a flaw. Just that he knows that^^
Anonymous
Would he run through the whole loop he would smash his stack
Walter
@shelly ...I have installed mingw as u said ...How do I compile in it??
Walter
Or anyone else who r using mingw??