Questions tagged [internals]

The internals tag denotes questions about how things work, as opposed to how to accomplish something specific. Of course, how something works underneath will have practical implications, but internals questions aren't about how to do something; rather, how to understand something.

If you understand how a database or parser or version control system actually works, you'll be better at using it. Internals questions seek this kind of inside knowledge.

660 questions
0
votes
1 answer

Examine TEB/TIB data when debugging with VS2010

I've unsuccessfully tried to find a method to examine the Thread Environment Block (AKA Thread Information Block) when debugging native code with the Visual Studio 2010. I know that FS:[0] should point at it, but the value in FS seems ambiguous.
0
votes
2 answers

Windows heap manager and heap segments

I found the following sentence in a book : Whenever the heap manager runs out of committed space in the heap segment, it explicitly commits more memory and divides the newly committed space into blocks as more and more allocations are…
JohnnyCat
  • 203
  • 1
  • 15
0
votes
1 answer

example of address translation

I have doubt with respect to the address space. I have thought that the RAM if 4 GB is split up into 2 halves for kernel space(1GB) and user space(3GB). 1] Does RAM also maintains stack,heap,code and data section as hard disk. 2] Won't the process…
Angus
  • 12,133
  • 29
  • 96
  • 151
0
votes
1 answer

Ruby Array weird syntax

Why does this work? (at least on Ruby 2.0) a = [1,2,] If I add one more comma I get a syntax error. Thanks
aledalgrande
  • 5,167
  • 3
  • 37
  • 65
0
votes
1 answer

Why do I get breakpoint exception at 0x7c90120e?

I'm writing a debugger on Windows. And I have this little useless assembly code I debug with it: global _start section .text _start: mov eax, 1 mov ebx, 2 mov ecx, 3 mov edx, [myVar] push 0 hlt section .data myVar dw…
Calmarius
  • 18,570
  • 18
  • 110
  • 157
0
votes
1 answer

Cheating com.android.internal.app to extend ActionBarImpl

I need to extend ActionBarImpl, which is part of com.android.internal.app. But it is not recomended to do so, since it is bound to change anytime in new android releases. Since I do not intend to re-implement ActionBarImpl I thought I will "cheat"…
ilomambo
  • 8,290
  • 12
  • 57
  • 106
0
votes
2 answers

Internal mechanisms of Mercurial about file conflits

I'm studiyng Mercurial but I don't understand how it detects the file conflicts. When a centralized SCM (as SubVersion) detects a conflit between two versions of a file in my project, it means the version number of mine local file is minor then…
alepuzio
  • 1,382
  • 2
  • 28
  • 38
0
votes
1 answer

Runtime data structure like proc in windows

I have two questions, both are them may be related so I am asking at once. Linux has /proc directory which is runtime data structure and gives information about running process. Does windows have any such directory where I can get runtime info…
Pranit Kothari
  • 9,721
  • 10
  • 61
  • 137
0
votes
1 answer

What are Intel execution modes?

I'm trying to study a bit about x86 internals, I read about System Management Mode, Real Mode , Protected Mode and Long Mode, however I heard there are a few more undocumented can anyone refer me to any such documentation which proves that or…
0
votes
1 answer

Visual Studio's Memory window: Inspecting a reference instead of the referenced value?

When I inspect a string variable text using Visual Studio's Memory window, I get to see its value: Out of curiosity, is there a way to inspect (also in the Memory window) the location where that value gets referenced? (Of course I can already see…
0
votes
1 answer

Windows 8 - Start screen icon for IE launches desktop version of IE

When I first installed Windows 8 (64 bit, Pro version, with Media Player), the IE icon on the Start screen launched the Metro / Modern / Windows Store / whatever version of IE. But somewhere along the line, it no longer does so. It launches the…
Larry Smith
  • 521
  • 3
  • 5
0
votes
1 answer

Mapreduce dataflow Internals

I tried to understand map reduce anatomy from various books/blogs.. But I am not getting a clear idea. What happens when I submit a job to the cluster using this command: ..Loaded the files into hdfs already bin/hadoop jar /usr/joe/wordcount.jar…
data_set
  • 339
  • 2
  • 15
0
votes
1 answer

InternalsVisibleTo , different member variables to different assemblies

I have a class A_class in Project A. In class A_class, there is a constructor internal A_class() { //constructor logic } , and a member variable internal int A_member; Now there are two friend assemblies, say Assembly B and Assembly C I…
0
votes
1 answer

How does postgresql internally pass row type variables to procedures?

I have table "Table1" and SQL procedure "testProc" which accepts argument of type "Table1". When this procedure gets invoked like this: select testProc(t.*) from Table1 t; is PostgreSQL internally using pointers for passing that argument? Or is it…
JoshuaBoshi
  • 1,266
  • 1
  • 14
  • 24
0
votes
2 answers

Attach to running windows process

please adisve on below: 1) What is the lightest way to attach to running native windows application process, get list of threads and see what DDLs are used? 2) What is the lightest way to attach to running .NET application process, get list of…
Ron Warshawsky
  • 314
  • 2
  • 11